Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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_TSetOnly,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",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.0008385/0.0008386, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006189/0.00619, allocations: 169.5 kB / 16.27 MB, free: 6.336 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.302/1.302, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.701/0.701, allocations: 132.3 MB / 423.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003023/0.0003024, allocations: 13.28 kB / 0.5041 GB, free: 3.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3512, allocations: 81.57 MB / 0.5837 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.1734/0.5246, allocations: 189 MB / 0.7683 GB, free: 2.781 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006895/0.5315, allocations: 5.141 MB / 0.7733 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004263/0.532, allocations: 39.69 kB / 0.7734 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001302/0.5333, allocations: 0.7155 MB / 0.7741 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004525/0.5378, allocations: 2.444 MB / 0.7765 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001762/0.5396, allocations: 0.9991 MB / 0.7774 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002724/0.5423, allocations: 3.534 MB / 0.7809 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008784/0.5432, allocations: 0.8072 MB / 0.7817 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001152/0.5444, allocations: 0.9841 MB / 0.7826 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009193/0.5453, allocations: 0.9728 MB / 0.7836 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.503e-05/0.5454, allocations: 44 kB / 0.7836 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002541/0.5479, allocations: 2.069 MB / 0.7857 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003156/0.5483, allocations: 406.5 kB / 0.786 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004944/0.5488, allocations: 0.6426 MB / 0.7867 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001969/0.5507, allocations: 2.207 MB / 0.7888 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.5508, allocations: 0 / 0.7888 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5508, allocations: 0 / 0.7888 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.047e-05/0.5508, allocations: 0 / 0.7888 GB, free: 13.72 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.003935/0.5547, allocations: 1.677 MB / 0.7905 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.5548, allocations: 11.97 kB / 0.7905 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001419/0.5549, allocations: 135.5 kB / 0.7906 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003972/0.5589, allocations: 0.7513 MB / 0.7913 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.56, allocations: 0.8903 MB / 0.7922 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.843e-05/0.56, allocations: 66 kB / 0.7923 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001527/0.5602, allocations: 87.97 kB / 0.7923 GB, free: 9.977 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002733/0.5629, allocations: 1.477 MB / 0.7938 GB, free: 8.441 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.851e-05/0.563, allocations: 0 / 0.7938 GB, free: 8.441 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.793e-05/0.5631, allocations: 39.98 kB / 0.7938 GB, free: 8.402 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-05/0.5631, allocations: 49.98 kB / 0.7939 GB, free: 8.355 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00374/0.5669, allocations: 1.581 MB / 0.7954 GB, free: 6.77 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.005365/0.5722, allocations: 5.042 MB / 0.8003 GB, free: 1.469 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00308/0.5753, allocations: 1.247 MB / 0.8016 GB, free: 224 kB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00159/0.5769, allocations: 0.6742 MB / 0.8022 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001074/0.578, allocations: 0.9527 MB / 0.8032 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001712/0.5797, allocations: 0.7381 MB / 0.8039 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=82): time 1.924e-06/0.5798, allocations: 0 / 0.8039 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of matching and sorting (n=82): time 0.005304/0.5851, allocations: 1.991 MB / 0.8058 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.5851, allocations: 64 kB / 0.8059 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/0.5863, allocations: 1.267 MB / 0.8071 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.174e-05/0.5864, allocations: 41.7 kB / 0.8072 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003733/0.5868, allocations: 0.5755 MB / 0.8077 GB, free: 9.676 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002055/0.587, allocations: 280 kB / 0.808 GB, free: 9.398 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.5871, allocations: 81.67 kB / 0.8081 GB, free: 9.312 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.791e-05/0.5872, allocations: 337.9 kB / 0.8084 GB, free: 8.977 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0015/0.5887, allocations: 0.5601 MB / 0.8089 GB, free: 8.418 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001665/0.5904, allocations: 0.8325 MB / 0.8097 GB, free: 7.484 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003055/0.5935, allocations: 1.371 MB / 0.8111 GB, free: 6.02 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.5935, allocations: 0 / 0.8111 GB, free: 6.02 MB / 0.6387 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003469/0.597, allocations: 1.538 MB / 0.8126 GB, free: 4.473 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.597, allocations: 8 kB / 0.8126 GB, free: 4.465 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.597, allocations: 8 kB / 0.8126 GB, free: 4.457 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.597, allocations: 12 kB / 0.8126 GB, free: 4.445 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/0.5983, allocations: 299.6 kB / 0.8129 GB, free: 4.152 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.6e-05/0.5984, allocations: 19.88 kB / 0.8129 GB, free: 4.133 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/0.5995, allocations: 230.7 kB / 0.8131 GB, free: 3.906 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.122e-05/0.5996, allocations: 39.98 kB / 0.8132 GB, free: 3.867 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (117): * Single equations (assignments): 117 * 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.0004025/0.6, allocations: 339.7 kB / 0.8135 GB, free: 3.527 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/0.6002, allocations: 134.3 kB / 0.8136 GB, free: 3.395 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003604/0.6038, allocations: 1.483 MB / 0.8151 GB, free: 1.906 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.6038, allocations: 8 kB / 0.8151 GB, free: 1.898 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.6038, allocations: 7.938 kB / 0.8151 GB, free: 1.891 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.6038, allocations: 3.984 kB / 0.8151 GB, free: 1.887 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2199/0.8238, allocations: 2.881 MB / 0.8179 GB, free: 219.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.099e-05/0.8238, allocations: 3.812 kB / 0.8179 GB, free: 219.3 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001227/0.8251, allocations: 228.5 kB / 0.8181 GB, free: 219.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.276e-05/0.8251, allocations: 8.328 kB / 0.8181 GB, free: 219.3 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.784e-05/0.8252, allocations: 29.59 kB / 0.8182 GB, free: 219.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-05/0.8252, allocations: 13.02 kB / 0.8182 GB, free: 219.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/0.8252, allocations: 7.531 kB / 0.8182 GB, free: 219.3 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005426/0.8307, allocations: 2.341 MB / 0.8205 GB, free: 218.7 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005077/0.8312, allocations: 316.9 kB / 0.8208 GB, free: 218.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002102/0.8314, allocations: 26.23 kB / 0.8208 GB, free: 218.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/0.8325, allocations: 133.1 kB / 0.8209 GB, free: 218.6 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/0.8327, allocations: 63.27 kB / 0.821 GB, free: 218.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.253e-05/0.8328, allocations: 39.61 kB / 0.821 GB, free: 218.6 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001151/0.8339, allocations: 0.8741 MB / 0.8219 GB, free: 218.2 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8339, allocations: 0 / 0.8219 GB, free: 218.2 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001037/0.835, allocations: 311.5 kB / 0.8222 GB, free: 218.2 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (82): * Single equations (assignments): 76 * 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.006422/0.8414, allocations: 3.328 MB / 0.8254 GB, free: 216.8 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003386/0.8448, allocations: 1.329 MB / 0.8267 GB, free: 216.5 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.8448, allocations: 3.844 kB / 0.8267 GB, free: 216.5 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001643/0.8465, allocations: 0.6728 MB / 0.8274 GB, free: 216.3 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003219/0.8497, allocations: 0.5952 MB / 0.828 GB, free: 216.2 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01841/0.8681, allocations: 12.45 MB / 0.8401 GB, free: 209.1 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005654/0.8687, allocations: 1.173 MB / 0.8413 GB, free: 208.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001363/0.8701, allocations: 350.5 kB / 0.8416 GB, free: 208 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006129/0.8707, allocations: 498.7 kB / 0.8421 GB, free: 207.6 MB / 0.6387 GB Notification: Performance of SimCode: time 4.61e-07/0.8707, allocations: 0 / 0.8421 GB, free: 207.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.879/2.75, allocations: 33.03 MB / 0.8743 GB, free: 178.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002455/2.75, allocations: 241.5 kB / 0.8746 GB, free: 178 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.758/5.508, allocations: 6.406 kB / 0.8746 GB, free: 178 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)