Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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_TSetOnly,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="IDEAS_dev_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.001796/0.001796, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002449/0.002449, allocations: 189.2 kB / 16.25 MB, free: 6.637 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.7/1.7, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9671/0.9671, allocations: 135.1 MB / 425.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 64.73 kB / 0.505 GB, free: 5.508 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.199/0.2002, allocations: 80.93 MB / 0.584 GB, free: 4.754 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.4363/0.6365, allocations: 191.3 MB / 0.7708 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007517/0.6441, allocations: 5.116 MB / 0.7758 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001127/0.6452, allocations: 43.69 kB / 0.7758 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001673/0.6469, allocations: 0.7311 MB / 0.7766 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005304/0.6522, allocations: 2.448 MB / 0.7789 GB, free: 5.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002938/0.6552, allocations: 1.007 MB / 0.7799 GB, free: 4.523 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003549/0.6588, allocations: 2.619 MB / 0.7825 GB, free: 1.895 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00112/0.6599, allocations: 0.8882 MB / 0.7834 GB, free: 0.9961 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001498/0.6614, allocations: 1.105 MB / 0.7844 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009242/0.6623, allocations: 1.031 MB / 0.7854 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001094/0.6625, allocations: 80 kB / 0.7855 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002627/0.6651, allocations: 1.851 MB / 0.7873 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003249/0.6654, allocations: 442.7 kB / 0.7877 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004893/0.6659, allocations: 0.6526 MB / 0.7884 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002104/0.668, allocations: 2.278 MB / 0.7906 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.6681, allocations: 0 / 0.7906 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6681, allocations: 0 / 0.7906 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.296e-05/0.6681, allocations: 4 kB / 0.7906 GB, free: 9.539 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.004115/0.6722, allocations: 1.933 MB / 0.7925 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.6722, allocations: 8.031 kB / 0.7925 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001434/0.6724, allocations: 139.5 kB / 0.7926 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003915/0.6763, allocations: 0.7044 MB / 0.7933 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/0.6774, allocations: 0.8903 MB / 0.7942 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.629e-05/0.6775, allocations: 70 kB / 0.7943 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001422/0.6776, allocations: 91.91 kB / 0.7944 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002752/0.6804, allocations: 1.471 MB / 0.7958 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.6804, allocations: 0 / 0.7958 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.195e-05/0.6805, allocations: 39.94 kB / 0.7958 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.185e-05/0.6806, allocations: 45.98 kB / 0.7959 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003679/0.6843, allocations: 1.557 MB / 0.7974 GB, free: 2.418 MB / 0.6075 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.006561/0.6908, allocations: 5.027 MB / 0.8023 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003171/0.694, allocations: 1.19 MB / 0.8035 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001698/0.6957, allocations: 0.6624 MB / 0.8041 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001246/0.697, allocations: 0.9332 MB / 0.805 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001807/0.6988, allocations: 0.7271 MB / 0.8057 GB, free: 9.426 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=82): time 3.236e-06/0.6988, allocations: 0 / 0.8057 GB, free: 9.426 MB / 0.6231 GB Notification: Performance of matching and sorting (n=82): time 0.00593/0.7048, allocations: 1.956 MB / 0.8076 GB, free: 7.461 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.7048, allocations: 64.05 kB / 0.8077 GB, free: 7.387 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001555/0.7064, allocations: 1.263 MB / 0.8089 GB, free: 6.117 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001045/0.7065, allocations: 49.7 kB / 0.809 GB, free: 6.062 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004423/0.707, allocations: 0.5677 MB / 0.8095 GB, free: 5.488 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000259/0.7072, allocations: 284 kB / 0.8098 GB, free: 5.207 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003628/0.7076, allocations: 186.5 kB / 0.81 GB, free: 5.016 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.7077, allocations: 341.9 kB / 0.8103 GB, free: 4.676 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001544/0.7093, allocations: 0.5445 MB / 0.8108 GB, free: 4.133 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001731/0.711, allocations: 0.8208 MB / 0.8116 GB, free: 3.211 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003171/0.7142, allocations: 1.34 MB / 0.813 GB, free: 1.773 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.7142, allocations: 4 kB / 0.813 GB, free: 1.77 MB / 0.6231 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003801/0.718, allocations: 1.514 MB / 0.8144 GB, free: 256 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.069e-05/0.7181, allocations: 8.812 kB / 0.8144 GB, free: 248 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.7181, allocations: 7.375 kB / 0.8145 GB, free: 244 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.383e-05/0.7181, allocations: 16 kB / 0.8145 GB, free: 228 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001416/0.7195, allocations: 295.5 kB / 0.8147 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.409e-05/0.7196, allocations: 15.94 kB / 0.8148 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/0.721, allocations: 218.6 kB / 0.815 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/0.7211, allocations: 51.97 kB / 0.815 GB, free: 15.65 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.000538/0.7216, allocations: 339.7 kB / 0.8153 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002568/0.7219, allocations: 138.3 kB / 0.8155 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003843/0.7257, allocations: 1.444 MB / 0.8169 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.7258, allocations: 8 kB / 0.8169 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.7258, allocations: 0 / 0.8169 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.7258, allocations: 7.922 kB / 0.8169 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005703/0.7315, allocations: 2.868 MB / 0.8197 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.7315, allocations: 4 kB / 0.8197 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001227/0.7328, allocations: 220.2 kB / 0.8199 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.19e-05/0.7328, allocations: 8 kB / 0.8199 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.461e-05/0.7329, allocations: 31.97 kB / 0.82 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.865e-06/0.7329, allocations: 8 kB / 0.82 GB, free: 10.47 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.7329, allocations: 8.031 kB / 0.82 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005212/0.7381, allocations: 2.307 MB / 0.8222 GB, free: 8.09 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004733/0.7386, allocations: 311.1 kB / 0.8225 GB, free: 7.766 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002079/0.7388, allocations: 22.5 kB / 0.8225 GB, free: 7.746 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/0.74, allocations: 123.8 kB / 0.8227 GB, free: 7.625 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/0.7401, allocations: 64.38 kB / 0.8227 GB, free: 7.562 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.216e-05/0.7402, allocations: 35.97 kB / 0.8228 GB, free: 7.527 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009782/0.7412, allocations: 0.8762 MB / 0.8236 GB, free: 6.648 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7412, allocations: 0 / 0.8236 GB, free: 6.648 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009394/0.7422, allocations: 319.7 kB / 0.8239 GB, free: 6.336 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.006516/0.7487, allocations: 3.285 MB / 0.8271 GB, free: 3.18 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003791/0.7525, allocations: 1.425 MB / 0.8285 GB, free: 1.75 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.7525, allocations: 0 / 0.8285 GB, free: 1.75 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001676/0.7542, allocations: 0.6521 MB / 0.8292 GB, free: 1.098 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002589/0.7568, allocations: 0.6253 MB / 0.8298 GB, free: 500 kB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0198/0.7766, allocations: 12.33 MB / 0.8418 GB, free: 3.527 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006816/0.7773, allocations: 1.171 MB / 0.8429 GB, free: 2.328 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001438/0.7787, allocations: 346.2 kB / 0.8433 GB, free: 1.988 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007167/0.7795, allocations: 0.4914 MB / 0.8438 GB, free: 1.496 MB / 0.6544 GB Notification: Performance of SimCode: time 7.31e-07/0.7795, allocations: 0 / 0.8438 GB, free: 1.496 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9825/1.762, allocations: 34.33 MB / 0.8773 GB, free: 220.4 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001872/1.762, allocations: 251.7 kB / 0.8775 GB, free: 220.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.346/6.109, allocations: 1.969 kB / 0.8775 GB, free: 220.1 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)