Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IDEAS_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.001398/0.001399, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001228/0.001228, allocations: 193.5 kB / 16.25 MB, free: 6.621 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.284/1.284, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7267/0.7267, allocations: 132.2 MB / 422.3 MB, free: 1.922 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 59.97 kB / 0.5014 GB, free: 4.113 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.3828, allocations: 80.2 MB / 0.5797 GB, free: 4.559 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.1941/0.5768, allocations: 191.3 MB / 0.7665 GB, free: 1.77 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007913/0.5848, allocations: 5.121 MB / 0.7715 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007397/0.5856, allocations: 43.69 kB / 0.7715 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00154/0.5871, allocations: 0.735 MB / 0.7723 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005056/0.5922, allocations: 2.448 MB / 0.7746 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002241/0.5945, allocations: 1.013 MB / 0.7756 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002845/0.5973, allocations: 2.691 MB / 0.7783 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001251/0.5986, allocations: 0.9522 MB / 0.7792 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001903/0.6005, allocations: 1.136 MB / 0.7803 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001132/0.6016, allocations: 1.051 MB / 0.7813 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000122/0.6018, allocations: 84 kB / 0.7814 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002915/0.6047, allocations: 1.866 MB / 0.7832 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003874/0.6051, allocations: 454.5 kB / 0.7837 GB, free: 140 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005936/0.6057, allocations: 0.6683 MB / 0.7843 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002675/0.6084, allocations: 2.313 MB / 0.7866 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.6084, allocations: 4 kB / 0.7866 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6084, allocations: 0 / 0.7866 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.666e-05/0.6084, allocations: 0 / 0.7866 GB, free: 13.14 MB / 0.6231 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.004647/0.6131, allocations: 1.961 MB / 0.7885 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.6131, allocations: 12.03 kB / 0.7885 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001575/0.6133, allocations: 147.5 kB / 0.7886 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005378/0.6187, allocations: 0.8955 MB / 0.7895 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001386/0.6201, allocations: 0.9059 MB / 0.7904 GB, free: 9.094 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.92e-05/0.6201, allocations: 69.98 kB / 0.7905 GB, free: 9.023 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001739/0.6203, allocations: 91.98 kB / 0.7906 GB, free: 8.934 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00351/0.6238, allocations: 1.575 MB / 0.7921 GB, free: 7.328 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/0.6239, allocations: 7.938 kB / 0.7921 GB, free: 7.32 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/0.624, allocations: 39.98 kB / 0.7921 GB, free: 7.281 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.211e-05/0.6241, allocations: 49.92 kB / 0.7922 GB, free: 7.23 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004891/0.629, allocations: 1.842 MB / 0.794 GB, free: 5.387 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.007161/0.6361, allocations: 4.726 MB / 0.7986 GB, free: 444 kB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004141/0.6403, allocations: 1.571 MB / 0.8001 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002147/0.6424, allocations: 0.8507 MB / 0.801 GB, free: 14 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001206/0.6437, allocations: 0.9452 MB / 0.8019 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002363/0.646, allocations: 0.9147 MB / 0.8028 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=95): time 5.14e-06/0.6461, allocations: 3.984 kB / 0.8028 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of matching and sorting (n=95): time 0.007275/0.6533, allocations: 2.45 MB / 0.8052 GB, free: 9.48 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.089e-05/0.6534, allocations: 68.41 kB / 0.8052 GB, free: 9.402 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001366/0.6548, allocations: 1.197 MB / 0.8064 GB, free: 8.195 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001233/0.6549, allocations: 45.7 kB / 0.8065 GB, free: 8.145 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003947/0.6553, allocations: 0.5409 MB / 0.807 GB, free: 7.598 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002939/0.6556, allocations: 327.3 kB / 0.8073 GB, free: 7.273 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003468/0.656, allocations: 190.5 kB / 0.8075 GB, free: 7.078 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.6561, allocations: 337.9 kB / 0.8078 GB, free: 6.742 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002086/0.6582, allocations: 0.7084 MB / 0.8085 GB, free: 6.035 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002271/0.6605, allocations: 0.9151 MB / 0.8094 GB, free: 5.055 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004226/0.6648, allocations: 1.554 MB / 0.8109 GB, free: 3.441 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.6648, allocations: 0 / 0.8109 GB, free: 3.441 MB / 0.6387 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004973/0.6697, allocations: 1.772 MB / 0.8126 GB, free: 1.664 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.133e-05/0.6698, allocations: 15.92 kB / 0.8127 GB, free: 1.648 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.6698, allocations: 4 kB / 0.8127 GB, free: 1.645 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.34e-05/0.6698, allocations: 8 kB / 0.8127 GB, free: 1.637 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001786/0.6716, allocations: 340 kB / 0.813 GB, free: 1.305 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.69e-05/0.6717, allocations: 15.94 kB / 0.813 GB, free: 1.289 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001745/0.6734, allocations: 250.7 kB / 0.8132 GB, free: 1.043 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/0.6735, allocations: 47.97 kB / 0.8133 GB, free: 0.9961 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.0005939/0.6741, allocations: 341.2 kB / 0.8136 GB, free: 0.6562 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002397/0.6744, allocations: 138.3 kB / 0.8137 GB, free: 0.5195 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2644/0.9388, allocations: 1.795 MB / 0.8155 GB, free: 220.3 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/0.9388, allocations: 8.656 kB / 0.8155 GB, free: 220.3 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.9389, allocations: 2 kB / 0.8155 GB, free: 220.3 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.319e-05/0.9389, allocations: 4.5 kB / 0.8155 GB, free: 220.3 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007527/0.9464, allocations: 3.334 MB / 0.8188 GB, free: 219.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-05/0.9464, allocations: 3.906 kB / 0.8188 GB, free: 219.1 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001809/0.9483, allocations: 292.1 kB / 0.8191 GB, free: 219.1 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.897e-05/0.9483, allocations: 9.25 kB / 0.8191 GB, free: 219.1 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000128/0.9484, allocations: 32.8 kB / 0.8191 GB, free: 219.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-05/0.9484, allocations: 12 kB / 0.8191 GB, free: 219.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/0.9485, allocations: 6.25 kB / 0.8191 GB, free: 219.1 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007786/0.9563, allocations: 2.843 MB / 0.8219 GB, free: 218.1 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006812/0.957, allocations: 325.3 kB / 0.8222 GB, free: 218 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002176/0.9572, allocations: 21.45 kB / 0.8222 GB, free: 218 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001546/0.9587, allocations: 177.3 kB / 0.8224 GB, free: 218 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001977/0.9589, allocations: 76.8 kB / 0.8225 GB, free: 217.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001079/0.9591, allocations: 44.14 kB / 0.8225 GB, free: 217.9 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001209/0.9603, allocations: 0.8289 MB / 0.8233 GB, free: 217.6 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9603, allocations: 0 / 0.8233 GB, free: 217.6 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001129/0.9614, allocations: 333.8 kB / 0.8236 GB, free: 217.6 MB / 0.6387 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.0084/0.9698, allocations: 3.823 MB / 0.8274 GB, free: 216 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005059/0.9749, allocations: 1.783 MB / 0.8291 GB, free: 215.5 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.9749, allocations: 0 / 0.8291 GB, free: 215.5 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002302/0.9773, allocations: 0.8332 MB / 0.8299 GB, free: 215.3 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002828/0.9801, allocations: 0.6319 MB / 0.8305 GB, free: 215.1 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02305/1.003, allocations: 13.24 MB / 0.8435 GB, free: 206.7 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005224/1.004, allocations: 1.181 MB / 0.8446 GB, free: 205.8 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001602/1.005, allocations: 367.5 kB / 0.845 GB, free: 205.6 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006406/1.006, allocations: 0.4992 MB / 0.8455 GB, free: 205.2 MB / 0.6387 GB Notification: Performance of SimCode: time 1.112e-06/1.006, allocations: 0 / 0.8455 GB, free: 205.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06351/1.069, allocations: 34.99 MB / 0.8796 GB, free: 171.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001342/1.07, allocations: 230.4 kB / 0.8798 GB, free: 171.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.661/3.73, allocations: 4 kB / 0.8799 GB, free: 171.4 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)