Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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_Water,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_Water",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.0009173/0.0009174, allocations: 90.52 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005141/0.005141, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.379/1.379, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9018/0.9018, allocations: 135.3 MB / 426.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003212/0.0003212, allocations: 12.19 kB / 0.5077 GB, free: 4.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1473, allocations: 82.31 MB / 0.5881 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.2974/0.4447, allocations: 28.43 MB / 0.6158 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008351/0.4531, allocations: 6.825 MB / 0.6225 GB, free: 33.7 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009219/0.4541, allocations: 40.09 kB / 0.6225 GB, free: 33.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001274/0.4553, allocations: 0.5984 MB / 0.6231 GB, free: 33.54 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002589/0.458, allocations: 1.337 MB / 0.6244 GB, free: 33.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002289/0.4603, allocations: 1.043 MB / 0.6255 GB, free: 33.04 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002694/0.463, allocations: 3.226 MB / 0.6286 GB, free: 32.18 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008396/0.4638, allocations: 0.7185 MB / 0.6293 GB, free: 31.9 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001278/0.4651, allocations: 0.9179 MB / 0.6302 GB, free: 31.52 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007936/0.4659, allocations: 0.8065 MB / 0.631 GB, free: 31.21 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.401e-05/0.466, allocations: 35.53 kB / 0.631 GB, free: 31.21 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001404/0.4674, allocations: 0.765 MB / 0.6318 GB, free: 30.91 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002005/0.4676, allocations: 248 kB / 0.632 GB, free: 30.8 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003854/0.468, allocations: 0.5504 MB / 0.6325 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001407/0.4694, allocations: 1.547 MB / 0.6341 GB, free: 29.93 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4694, allocations: 0 / 0.6341 GB, free: 29.93 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.853e-06/0.4694, allocations: 0 / 0.6341 GB, free: 29.93 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.212e-05/0.4695, allocations: 0 / 0.6341 GB, free: 29.93 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.002076/0.4715, allocations: 1.358 MB / 0.6354 GB, free: 28.98 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.4716, allocations: 12.34 kB / 0.6354 GB, free: 28.98 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001163/0.4717, allocations: 119.7 kB / 0.6355 GB, free: 28.9 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00324/0.475, allocations: 0.6369 MB / 0.6361 GB, free: 28.79 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009762/0.4759, allocations: 0.8029 MB / 0.6369 GB, free: 28.29 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.119e-05/0.476, allocations: 60.53 kB / 0.637 GB, free: 28.25 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.4761, allocations: 74.03 kB / 0.637 GB, free: 28.23 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002065/0.4782, allocations: 1.109 MB / 0.6381 GB, free: 27.71 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/0.4782, allocations: 6.781 kB / 0.6381 GB, free: 27.71 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.189e-05/0.4783, allocations: 29.5 kB / 0.6382 GB, free: 27.69 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.4783, allocations: 22.17 kB / 0.6382 GB, free: 27.69 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002758/0.4811, allocations: 1.028 MB / 0.6392 GB, free: 27.43 MB / 0.4981 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.004241/0.4853, allocations: 4.965 MB / 0.644 GB, free: 23.57 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002667/0.488, allocations: 0.9517 MB / 0.645 GB, free: 23.32 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001334/0.4894, allocations: 0.4992 MB / 0.6454 GB, free: 23.18 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001011/0.4904, allocations: 1.601 MB / 0.647 GB, free: 21.37 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001495/0.4919, allocations: 0.5813 MB / 0.6476 GB, free: 21.2 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=61): time 2.796e-06/0.4919, allocations: 2.969 kB / 0.6476 GB, free: 21.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=61): time 0.004331/0.4962, allocations: 1.517 MB / 0.6491 GB, free: 20.77 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.4963, allocations: 61.66 kB / 0.6491 GB, free: 20.7 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001315/0.4976, allocations: 1.122 MB / 0.6502 GB, free: 20.28 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.526e-05/0.4977, allocations: 38.61 kB / 0.6503 GB, free: 20.24 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003527/0.498, allocations: 0.5453 MB / 0.6508 GB, free: 19.8 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/0.4982, allocations: 204.7 kB / 0.651 GB, free: 19.64 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.705e-05/0.4983, allocations: 70.72 kB / 0.6511 GB, free: 19.6 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.273e-05/0.4984, allocations: 337.5 kB / 0.6514 GB, free: 19.29 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001437/0.4998, allocations: 459.1 kB / 0.6518 GB, free: 19.18 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001559/0.5014, allocations: 0.7309 MB / 0.6525 GB, free: 18.74 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003036/0.5044, allocations: 1.143 MB / 0.6536 GB, free: 18.16 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.074e-06/0.5045, allocations: 2.688 kB / 0.6536 GB, free: 18.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003593/0.5081, allocations: 1.298 MB / 0.6549 GB, free: 17.74 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.5081, allocations: 10.41 kB / 0.6549 GB, free: 17.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.5081, allocations: 6.344 kB / 0.6549 GB, free: 17.74 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.547e-05/0.5081, allocations: 16.56 kB / 0.6549 GB, free: 17.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/0.5094, allocations: 274.1 kB / 0.6552 GB, free: 17.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.083e-05/0.5094, allocations: 18.2 kB / 0.6552 GB, free: 17.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/0.5106, allocations: 210.6 kB / 0.6554 GB, free: 17.63 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.746e-05/0.5107, allocations: 44.98 kB / 0.6555 GB, free: 17.63 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (100): * Single equations (assignments): 100 * 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.000417/0.5111, allocations: 296.3 kB / 0.6557 GB, free: 17.43 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.5113, allocations: 116.3 kB / 0.6559 GB, free: 17.37 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003723/0.515, allocations: 1.387 MB / 0.6572 GB, free: 16.95 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.976e-05/0.515, allocations: 9.797 kB / 0.6572 GB, free: 16.95 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.5151, allocations: 2.375 kB / 0.6572 GB, free: 16.95 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.5151, allocations: 7.125 kB / 0.6572 GB, free: 16.95 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00476/0.5198, allocations: 2.397 MB / 0.6596 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.5199, allocations: 1.312 kB / 0.6596 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009707/0.5208, allocations: 193.8 kB / 0.6598 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.635e-06/0.5208, allocations: 4.094 kB / 0.6598 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.259e-05/0.5209, allocations: 30.59 kB / 0.6598 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-06/0.5209, allocations: 5.031 kB / 0.6598 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.5209, allocations: 5.688 kB / 0.6598 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004917/0.5259, allocations: 2.008 MB / 0.6618 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003605/0.5262, allocations: 284 kB / 0.662 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001324/0.5264, allocations: 15.92 kB / 0.662 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009276/0.5273, allocations: 129.8 kB / 0.6622 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.5274, allocations: 57.75 kB / 0.6622 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-05/0.5275, allocations: 32.83 kB / 0.6623 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008861/0.5284, allocations: 0.7635 MB / 0.663 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5284, allocations: 3.938 kB / 0.663 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001023/0.5294, allocations: 348.8 kB / 0.6633 GB, free: 14.52 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (70): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.006263/0.5357, allocations: 3.113 MB / 0.6664 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003096/0.5388, allocations: 1.132 MB / 0.6675 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5388, allocations: 0 / 0.6675 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001516/0.5403, allocations: 0.5862 MB / 0.6681 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002175/0.5425, allocations: 431.2 kB / 0.6685 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01706/0.5596, allocations: 10.67 MB / 0.6789 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005823/0.5602, allocations: 1.104 MB / 0.68 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001061/0.5613, allocations: 247.5 kB / 0.6802 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005858/0.5619, allocations: 456.5 kB / 0.6806 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of SimCode: time 8.22e-07/0.5619, allocations: 4.844 kB / 0.6806 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9119/1.474, allocations: 28.94 MB / 0.7089 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002447/1.474, allocations: 253.5 kB / 0.7091 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.884/4.358, allocations: 4 kB / 0.7092 GB, free: 15.14 MB / 0.5294 GB (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)