Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="IBPSA_latest_IBPSA_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.001164/0.001164, allocations: 105.1 kB / 16.4 MB, free: 6.477 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.00122/0.001221, allocations: 195.8 kB / 17.34 MB, free: 5.75 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.792/0.792, allocations: 115.3 MB / 406.5 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 63.45 kB / 0.5572 GB, free: 32.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1677, allocations: 76.19 MB / 0.6316 GB, free: 4.879 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.6696/0.8374, allocations: 193.8 MB / 0.8209 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01078/0.8482, allocations: 5.147 MB / 0.8259 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003494/0.8518, allocations: 47.25 kB / 0.826 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003357/0.8552, allocations: 0.8071 MB / 0.8267 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01001/0.8652, allocations: 2.597 MB / 0.8293 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003451/0.8687, allocations: 1.109 MB / 0.8304 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004514/0.8732, allocations: 2.605 MB / 0.8329 GB, free: 3.246 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001492/0.8747, allocations: 0.8884 MB / 0.8338 GB, free: 2.707 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002377/0.8771, allocations: 1.115 MB / 0.8349 GB, free: 2.141 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001383/0.8785, allocations: 0.9549 MB / 0.8358 GB, free: 1.68 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001544/0.8787, allocations: 79.94 kB / 0.8359 GB, free: 1.68 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003748/0.8824, allocations: 1.78 MB / 0.8376 GB, free: 0.9219 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004836/0.8829, allocations: 446.7 kB / 0.838 GB, free: 0.6406 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007822/0.8837, allocations: 0.6513 MB / 0.8387 GB, free: 228 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004674/0.8884, allocations: 2.16 MB / 0.8408 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.8884, allocations: 2.531 kB / 0.8408 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8885, allocations: 0 / 0.8408 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.139e-05/0.8885, allocations: 0 / 0.8408 GB, free: 15.02 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.005778/0.8943, allocations: 1.933 MB / 0.8427 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.8944, allocations: 10.41 kB / 0.8427 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001886/0.8945, allocations: 139.7 kB / 0.8428 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004605/0.8992, allocations: 0.7004 MB / 0.8435 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002236/0.9014, allocations: 0.9509 MB / 0.8444 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.455e-05/0.9015, allocations: 73.98 kB / 0.8445 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001854/0.9017, allocations: 85.36 kB / 0.8446 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003518/0.9052, allocations: 1.465 MB / 0.846 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.702e-05/0.9053, allocations: 6.656 kB / 0.846 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.9054, allocations: 38.83 kB / 0.8461 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.485e-05/0.9055, allocations: 48.34 kB / 0.8461 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004445/0.9099, allocations: 1.555 MB / 0.8476 GB, free: 10.14 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.0086/0.9185, allocations: 5.026 MB / 0.8525 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003618/0.9222, allocations: 1.183 MB / 0.8537 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001783/0.924, allocations: 0.6719 MB / 0.8543 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001292/0.9253, allocations: 0.9421 MB / 0.8553 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001954/0.9273, allocations: 0.7263 MB / 0.856 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=82): time 3.146e-06/0.9273, allocations: 0 / 0.856 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=82): time 0.006493/0.9338, allocations: 1.953 MB / 0.8579 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.03e-05/0.9339, allocations: 68 kB / 0.8579 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00179/0.9357, allocations: 1.264 MB / 0.8592 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.786e-05/0.9358, allocations: 41.7 kB / 0.8592 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004607/0.9362, allocations: 0.5736 MB / 0.8598 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002799/0.9365, allocations: 279.6 kB / 0.86 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003278/0.9369, allocations: 186.5 kB / 0.8602 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.937, allocations: 341.9 kB / 0.8605 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001754/0.9388, allocations: 0.5484 MB / 0.8611 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001936/0.9407, allocations: 0.8268 MB / 0.8619 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003501/0.9442, allocations: 1.339 MB / 0.8632 GB, free: 9.543 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.9442, allocations: 7.938 kB / 0.8632 GB, free: 9.535 MB / 0.6231 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004621/0.9489, allocations: 1.515 MB / 0.8647 GB, free: 8.016 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/0.9489, allocations: 11.98 kB / 0.8647 GB, free: 8.004 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/0.9489, allocations: 8 kB / 0.8647 GB, free: 7.996 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.157e-05/0.949, allocations: 12 kB / 0.8647 GB, free: 7.984 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001464/0.9505, allocations: 287.7 kB / 0.865 GB, free: 7.703 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.825e-05/0.9505, allocations: 11.94 kB / 0.865 GB, free: 7.691 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/0.9519, allocations: 202.7 kB / 0.8652 GB, free: 7.492 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/0.9521, allocations: 55.91 kB / 0.8652 GB, free: 7.438 MB / 0.6231 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.0006357/0.9527, allocations: 339.3 kB / 0.8656 GB, free: 7.102 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000241/0.953, allocations: 142.3 kB / 0.8657 GB, free: 6.961 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004021/0.957, allocations: 1.435 MB / 0.8671 GB, free: 5.52 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.957, allocations: 11.98 kB / 0.8671 GB, free: 5.508 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.957, allocations: 0 / 0.8671 GB, free: 5.508 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.957, allocations: 3.984 kB / 0.8671 GB, free: 5.504 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00618/0.9632, allocations: 2.865 MB / 0.8699 GB, free: 2.551 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/0.9633, allocations: 4 kB / 0.8699 GB, free: 2.547 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001331/0.9646, allocations: 228.1 kB / 0.8701 GB, free: 2.324 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.589e-05/0.9646, allocations: 8 kB / 0.8701 GB, free: 2.316 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.113e-05/0.9647, allocations: 27.97 kB / 0.8702 GB, free: 2.289 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.408e-05/0.9648, allocations: 13.55 kB / 0.8702 GB, free: 2.277 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.9648, allocations: 7.938 kB / 0.8702 GB, free: 2.27 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005869/0.9706, allocations: 2.306 MB / 0.8724 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000684/0.9713, allocations: 299.3 kB / 0.8727 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001799/0.9715, allocations: 23.98 kB / 0.8728 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/0.9726, allocations: 107.9 kB / 0.8729 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001801/0.9728, allocations: 68.36 kB / 0.8729 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.432e-05/0.9729, allocations: 35.97 kB / 0.873 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0011/0.974, allocations: 0.8723 MB / 0.8738 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.91e-07/0.974, allocations: 0 / 0.8738 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001096/0.9751, allocations: 319.6 kB / 0.8741 GB, free: 14.17 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.007233/0.9824, allocations: 3.296 MB / 0.8773 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003907/0.9863, allocations: 1.318 MB / 0.8786 GB, free: 9.668 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.9863, allocations: 0 / 0.8786 GB, free: 9.668 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001869/0.9882, allocations: 0.659 MB / 0.8793 GB, free: 9.012 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003108/0.9913, allocations: 0.6209 MB / 0.8799 GB, free: 8.406 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02261/1.014, allocations: 11.11 MB / 0.8907 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007578/1.015, allocations: 1.171 MB / 0.8919 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001421/1.016, allocations: 354.2 kB / 0.8922 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008534/1.017, allocations: 499.2 kB / 0.8927 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of SimCode: time 1.172e-06/1.017, allocations: 0 / 0.8927 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1/1.117, allocations: 35.55 MB / 0.9274 GB, free: 7.668 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/12.52, allocations: 5.531 kB / 0.9274 GB, free: 7.668 MB / 0.6856 GB (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)