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.001424/0.001424, 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.001219/0.001219, allocations: 195.2 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.302/1.302, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7401/0.7401, allocations: 132.2 MB / 422.6 MB, free: 1.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 63.56 kB / 0.5019 GB, free: 3.809 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3327, allocations: 80.2 MB / 0.5802 GB, free: 4.449 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.1985/0.5312, allocations: 193.8 MB / 0.7695 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008255/0.5395, allocations: 5.141 MB / 0.7745 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008182/0.5404, allocations: 47.69 kB / 0.7745 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001621/0.542, allocations: 0.8042 MB / 0.7753 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005288/0.5473, allocations: 2.602 MB / 0.7779 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002441/0.5498, allocations: 1.118 MB / 0.779 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002875/0.5527, allocations: 2.594 MB / 0.7815 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001157/0.5538, allocations: 0.8844 MB / 0.7824 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001592/0.5555, allocations: 1.074 MB / 0.7834 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009815/0.5564, allocations: 0.969 MB / 0.7843 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001321/0.5566, allocations: 80 kB / 0.7844 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002817/0.5594, allocations: 1.773 MB / 0.7862 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.00035/0.5598, allocations: 442.6 kB / 0.7866 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005462/0.5603, allocations: 0.6487 MB / 0.7872 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002373/0.5627, allocations: 2.157 MB / 0.7893 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.5627, allocations: 0 / 0.7893 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5627, allocations: 4 kB / 0.7893 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.384e-05/0.5627, allocations: 0 / 0.7893 GB, free: 10.54 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.004192/0.567, allocations: 1.926 MB / 0.7912 GB, free: 8.559 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.567, allocations: 8.031 kB / 0.7912 GB, free: 8.551 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001481/0.5671, allocations: 143.4 kB / 0.7913 GB, free: 8.402 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004029/0.5712, allocations: 0.7044 MB / 0.792 GB, free: 7.695 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/0.5723, allocations: 0.8903 MB / 0.7929 GB, free: 6.746 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.71e-05/0.5724, allocations: 69.98 kB / 0.793 GB, free: 6.68 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001454/0.5725, allocations: 88 kB / 0.7931 GB, free: 6.594 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002819/0.5754, allocations: 1.469 MB / 0.7945 GB, free: 5.066 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.5754, allocations: 0 / 0.7945 GB, free: 5.066 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.777e-05/0.5755, allocations: 32 kB / 0.7945 GB, free: 5.035 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.956e-05/0.5755, allocations: 49.98 kB / 0.7946 GB, free: 4.988 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00384/0.5794, allocations: 1.561 MB / 0.7961 GB, free: 3.422 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.005513/0.5849, allocations: 5.03 MB / 0.801 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003113/0.588, allocations: 1.191 MB / 0.8022 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001594/0.5896, allocations: 0.6624 MB / 0.8028 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001142/0.5908, allocations: 0.9488 MB / 0.8037 GB, free: 11.13 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001712/0.5925, allocations: 0.7185 MB / 0.8044 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=82): time 2.274e-06/0.5925, allocations: 0 / 0.8044 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of matching and sorting (n=82): time 0.005527/0.5981, allocations: 1.956 MB / 0.8064 GB, free: 8.441 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.5981, allocations: 60.06 kB / 0.8064 GB, free: 8.371 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/0.5993, allocations: 1.268 MB / 0.8076 GB, free: 7.098 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.134e-05/0.5994, allocations: 45.7 kB / 0.8077 GB, free: 7.047 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003825/0.5998, allocations: 0.5755 MB / 0.8083 GB, free: 6.465 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001977/0.6, allocations: 272 kB / 0.8085 GB, free: 6.195 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002737/0.6003, allocations: 182.5 kB / 0.8087 GB, free: 6.012 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.6004, allocations: 345.9 kB / 0.809 GB, free: 5.668 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001527/0.6019, allocations: 0.5562 MB / 0.8096 GB, free: 5.109 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001709/0.6036, allocations: 0.8247 MB / 0.8104 GB, free: 4.188 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00311/0.6067, allocations: 1.332 MB / 0.8117 GB, free: 2.762 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.6068, allocations: 7.938 kB / 0.8117 GB, free: 2.754 MB / 0.6387 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003508/0.6103, allocations: 1.519 MB / 0.8132 GB, free: 1.223 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.6103, allocations: 8 kB / 0.8132 GB, free: 1.215 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.6103, allocations: 8 kB / 0.8132 GB, free: 1.207 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.6103, allocations: 12 kB / 0.8132 GB, free: 1.195 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/0.6117, allocations: 291.7 kB / 0.8135 GB, free: 0.9102 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.544e-05/0.6117, allocations: 15.88 kB / 0.8135 GB, free: 0.8945 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/0.6129, allocations: 206.7 kB / 0.8137 GB, free: 0.6914 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-05/0.613, allocations: 51.97 kB / 0.8137 GB, free: 0.6406 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.0003973/0.6134, allocations: 343.6 kB / 0.814 GB, free: 304 kB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001662/0.6136, allocations: 138.3 kB / 0.8142 GB, free: 164 kB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2475/0.8611, allocations: 1.436 MB / 0.8156 GB, free: 220.2 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.8611, allocations: 8.656 kB / 0.8156 GB, free: 220.2 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.8611, allocations: 3.75 kB / 0.8156 GB, free: 220.2 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/0.8611, allocations: 4.688 kB / 0.8156 GB, free: 220.2 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006254/0.8674, allocations: 2.857 MB / 0.8184 GB, free: 219.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/0.8674, allocations: 4.422 kB / 0.8184 GB, free: 219.1 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001453/0.8689, allocations: 232.6 kB / 0.8186 GB, free: 219.1 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.348e-05/0.8689, allocations: 10.81 kB / 0.8186 GB, free: 219.1 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-05/0.869, allocations: 26.09 kB / 0.8187 GB, free: 219.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.11e-05/0.869, allocations: 8.5 kB / 0.8187 GB, free: 219.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.869, allocations: 9.062 kB / 0.8187 GB, free: 219.1 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005947/0.875, allocations: 2.31 MB / 0.8209 GB, free: 218.3 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004994/0.8755, allocations: 300.1 kB / 0.8212 GB, free: 218.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001977/0.8757, allocations: 27.05 kB / 0.8212 GB, free: 218.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001191/0.8769, allocations: 109.2 kB / 0.8213 GB, free: 218.1 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/0.8771, allocations: 67.06 kB / 0.8214 GB, free: 218.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.744e-05/0.8772, allocations: 37.47 kB / 0.8214 GB, free: 218.1 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001279/0.8785, allocations: 0.8745 MB / 0.8223 GB, free: 217.8 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8785, allocations: 0 / 0.8223 GB, free: 217.8 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001123/0.8796, allocations: 323.6 kB / 0.8226 GB, free: 217.7 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.006867/0.8865, allocations: 3.279 MB / 0.8258 GB, free: 216.3 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003906/0.8904, allocations: 1.437 MB / 0.8272 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.8904, allocations: 0 / 0.8272 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001714/0.8921, allocations: 0.6572 MB / 0.8279 GB, free: 215.7 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002684/0.8948, allocations: 0.6245 MB / 0.8285 GB, free: 215.5 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01823/0.9131, allocations: 11.96 MB / 0.8401 GB, free: 208.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004577/0.9136, allocations: 1.175 MB / 0.8413 GB, free: 207.3 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001382/0.9149, allocations: 356 kB / 0.8416 GB, free: 207.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005753/0.9155, allocations: 497.4 kB / 0.8421 GB, free: 206.7 MB / 0.6387 GB Notification: Performance of SimCode: time 5.91e-07/0.9155, allocations: 0 / 0.8421 GB, free: 206.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.192/1.108, allocations: 34.61 MB / 0.8759 GB, free: 175.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.681/10.79, allocations: 27.08 kB / 0.8759 GB, free: 175.1 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)