Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 195.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8815/0.8815, allocations: 135.1 MB / 425.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 67.61 kB / 0.5054 GB, free: 5.223 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1373, allocations: 80.93 MB / 0.5845 GB, free: 4.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.3985/0.5359, allocations: 193.8 MB / 0.7737 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007427/0.5433, allocations: 5.133 MB / 0.7787 GB, free: 5.848 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005593/0.5439, allocations: 47.69 kB / 0.7788 GB, free: 5.801 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001469/0.5454, allocations: 0.812 MB / 0.7796 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004506/0.5499, allocations: 2.598 MB / 0.7821 GB, free: 2.375 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001974/0.5519, allocations: 1.114 MB / 0.7832 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002249/0.5542, allocations: 2.673 MB / 0.7858 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001012/0.5552, allocations: 0.9406 MB / 0.7867 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001257/0.5565, allocations: 1.105 MB / 0.7878 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000967/0.5575, allocations: 0.9846 MB / 0.7888 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001428/0.5576, allocations: 88 kB / 0.7889 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002504/0.5601, allocations: 1.785 MB / 0.7906 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003555/0.5605, allocations: 446.6 kB / 0.791 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005441/0.561, allocations: 0.6682 MB / 0.7917 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002423/0.5635, allocations: 2.196 MB / 0.7938 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.5635, allocations: 0 / 0.7938 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5635, allocations: 0 / 0.7938 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.658e-05/0.5635, allocations: 4 kB / 0.7938 GB, free: 6.348 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.004857/0.5684, allocations: 1.956 MB / 0.7957 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.5684, allocations: 16.03 kB / 0.7958 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001738/0.5686, allocations: 135.6 kB / 0.7959 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005579/0.5742, allocations: 0.8916 MB / 0.7968 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001625/0.5758, allocations: 0.9097 MB / 0.7976 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.013e-05/0.5759, allocations: 74 kB / 0.7977 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000203/0.5761, allocations: 99.95 kB / 0.7978 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003828/0.58, allocations: 1.571 MB / 0.7993 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.58, allocations: 0 / 0.7993 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/0.5801, allocations: 47.91 kB / 0.7994 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.636e-05/0.5802, allocations: 49.98 kB / 0.7994 GB, free: 460 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005304/0.5855, allocations: 1.85 MB / 0.8012 GB, free: 14.6 MB / 0.6231 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007229/0.5927, allocations: 4.756 MB / 0.8059 GB, free: 9.625 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004457/0.5972, allocations: 1.569 MB / 0.8074 GB, free: 8.047 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002333/0.5996, allocations: 0.8507 MB / 0.8083 GB, free: 7.191 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001248/0.6008, allocations: 0.9491 MB / 0.8092 GB, free: 6.059 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002488/0.6033, allocations: 0.9066 MB / 0.8101 GB, free: 5.145 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=95): time 2.615e-06/0.6033, allocations: 0 / 0.8101 GB, free: 5.145 MB / 0.6231 GB Notification: Performance of matching and sorting (n=95): time 0.007948/0.6113, allocations: 2.458 MB / 0.8125 GB, free: 2.676 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.6113, allocations: 60.41 kB / 0.8125 GB, free: 2.605 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/0.6126, allocations: 1.193 MB / 0.8137 GB, free: 1.402 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.932e-05/0.6127, allocations: 49.7 kB / 0.8137 GB, free: 1.348 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004128/0.6132, allocations: 0.5409 MB / 0.8143 GB, free: 0.8008 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002785/0.6134, allocations: 327.3 kB / 0.8146 GB, free: 488 kB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003302/0.6138, allocations: 194.5 kB / 0.8148 GB, free: 288 kB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.6139, allocations: 341.9 kB / 0.8151 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002241/0.6162, allocations: 0.6949 MB / 0.8158 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002404/0.6186, allocations: 0.9151 MB / 0.8167 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004459/0.623, allocations: 1.55 MB / 0.8182 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.167e-06/0.6231, allocations: 4 kB / 0.8182 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005114/0.6282, allocations: 1.776 MB / 0.8199 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.6282, allocations: 6.5 kB / 0.8199 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.6282, allocations: 8.438 kB / 0.8199 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.6283, allocations: 15.98 kB / 0.8199 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001823/0.6301, allocations: 339.4 kB / 0.8203 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.878e-05/0.6301, allocations: 15.75 kB / 0.8203 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/0.6317, allocations: 234.7 kB / 0.8205 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/0.6318, allocations: 51.97 kB / 0.8206 GB, free: 10.21 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005098/0.6323, allocations: 339.7 kB / 0.8209 GB, free: 9.875 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002031/0.6325, allocations: 134.3 kB / 0.821 GB, free: 9.742 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005451/0.638, allocations: 1.802 MB / 0.8228 GB, free: 7.93 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.638, allocations: 8 kB / 0.8228 GB, free: 7.922 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.638, allocations: 0 / 0.8228 GB, free: 7.922 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.638, allocations: 7.969 kB / 0.8228 GB, free: 7.914 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007389/0.6454, allocations: 3.332 MB / 0.826 GB, free: 4.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/0.6455, allocations: 4.5 kB / 0.826 GB, free: 4.477 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001697/0.6472, allocations: 291.5 kB / 0.8263 GB, free: 4.191 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.184e-05/0.6472, allocations: 8 kB / 0.8263 GB, free: 4.184 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.526e-05/0.6473, allocations: 31.97 kB / 0.8264 GB, free: 4.152 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.458e-06/0.6473, allocations: 12.08 kB / 0.8264 GB, free: 4.141 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/0.6473, allocations: 11.88 kB / 0.8264 GB, free: 4.129 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007484/0.6548, allocations: 2.851 MB / 0.8292 GB, free: 1.215 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006178/0.6554, allocations: 323.1 kB / 0.8295 GB, free: 0.8789 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002094/0.6557, allocations: 20 kB / 0.8295 GB, free: 0.8594 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001426/0.6571, allocations: 155.8 kB / 0.8296 GB, free: 0.707 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001666/0.6573, allocations: 76.45 kB / 0.8297 GB, free: 0.6289 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.856e-05/0.6574, allocations: 39.97 kB / 0.8298 GB, free: 0.5898 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001036/0.6584, allocations: 0.8315 MB / 0.8306 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.473e-06/0.6584, allocations: 0 / 0.8306 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001049/0.6595, allocations: 339.6 kB / 0.8309 GB, free: 15.42 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008749/0.6682, allocations: 3.824 MB / 0.8346 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.005373/0.6736, allocations: 1.782 MB / 0.8364 GB, free: 9.957 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.6736, allocations: 4.25 kB / 0.8364 GB, free: 9.953 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002408/0.6761, allocations: 0.8319 MB / 0.8372 GB, free: 9.125 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00281/0.6789, allocations: 0.6108 MB / 0.8378 GB, free: 8.527 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0232/0.7021, allocations: 12.88 MB / 0.8504 GB, free: 11.08 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006788/0.7028, allocations: 1.193 MB / 0.8515 GB, free: 9.859 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001531/0.7043, allocations: 354 kB / 0.8519 GB, free: 9.512 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007545/0.7051, allocations: 0.5032 MB / 0.8524 GB, free: 9.012 MB / 0.67 GB Notification: Performance of SimCode: time 5.71e-07/0.7051, allocations: 0 / 0.8524 GB, free: 9.012 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.715/1.42, allocations: 35.3 MB / 0.8868 GB, free: 219.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.914/10.33, allocations: 13.06 kB / 0.8868 GB, free: 219.1 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)