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.001333/0.001333, allocations: 104.6 kB / 16.4 MB, free: 6.457 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.001355/0.001355, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.407/1.407, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8018/0.8018, allocations: 126.7 MB / 417.9 MB, free: 12.26 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 67.64 kB / 0.5736 GB, free: 27.01 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1562, allocations: 78.86 MB / 0.6506 GB, free: 3.527 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.6682/0.8245, allocations: 241.7 MB / 0.8866 GB, free: 1.32 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01598/0.8405, allocations: 8.41 MB / 0.8948 GB, free: 8.891 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002746/0.8433, allocations: 67.56 kB / 0.8949 GB, free: 8.824 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003602/0.847, allocations: 1.052 MB / 0.8959 GB, free: 7.766 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.009669/0.8567, allocations: 3.061 MB / 0.8989 GB, free: 4.691 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.009799/0.8665, allocations: 3.535 MB / 0.9024 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.007464/0.874, allocations: 3.897 MB / 0.9062 GB, free: 13.25 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003485/0.8776, allocations: 1.344 MB / 0.9075 GB, free: 11.87 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006025/0.8837, allocations: 2.184 MB / 0.9096 GB, free: 9.676 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002701/0.8864, allocations: 1.366 MB / 0.9109 GB, free: 8.305 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0005246/0.8869, allocations: 128 kB / 0.9111 GB, free: 8.18 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00849/0.8955, allocations: 3.924 MB / 0.9149 GB, free: 4.246 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.00105/0.8965, allocations: 0.5996 MB / 0.9155 GB, free: 3.645 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001724/0.8983, allocations: 0.9882 MB / 0.9165 GB, free: 2.652 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00809/0.9064, allocations: 3.873 MB / 0.9202 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.9064, allocations: 0 / 0.9202 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.044e-06/0.9064, allocations: 0 / 0.9202 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.798e-05/0.9065, allocations: 0 / 0.9202 GB, free: 14.77 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.006498/0.913, allocations: 2.706 MB / 0.9229 GB, free: 11.99 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.9131, allocations: 8.031 kB / 0.9229 GB, free: 11.98 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002416/0.9133, allocations: 194.4 kB / 0.9231 GB, free: 11.78 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007457/0.9208, allocations: 1.138 MB / 0.9242 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002641/0.9234, allocations: 1.271 MB / 0.9254 GB, free: 9.316 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.763e-05/0.9236, allocations: 102.5 kB / 0.9255 GB, free: 9.215 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002569/0.9238, allocations: 131.9 kB / 0.9256 GB, free: 9.086 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004354/0.9282, allocations: 1.956 MB / 0.9276 GB, free: 7.004 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.346e-05/0.9282, allocations: 11.92 kB / 0.9276 GB, free: 6.992 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001508/0.9284, allocations: 59.98 kB / 0.9276 GB, free: 6.934 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.555e-05/0.9285, allocations: 62.34 kB / 0.9277 GB, free: 6.871 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005387/0.9339, allocations: 1.883 MB / 0.9295 GB, free: 4.98 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01297/0.9469, allocations: 8.676 MB / 0.938 GB, free: 11.72 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00434/0.9513, allocations: 1.512 MB / 0.9395 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002164/0.9535, allocations: 0.8054 MB / 0.9403 GB, free: 9.398 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001477/0.955, allocations: 0.9491 MB / 0.9412 GB, free: 8.262 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002456/0.9575, allocations: 0.8764 MB / 0.942 GB, free: 7.375 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=106): time 3.616e-06/0.9575, allocations: 0 / 0.942 GB, free: 7.375 MB / 0.7012 GB Notification: Performance of matching and sorting (n=106): time 0.00753/0.965, allocations: 2.404 MB / 0.9444 GB, free: 4.965 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.22e-05/0.9651, allocations: 64.41 kB / 0.9445 GB, free: 4.887 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002583/0.9677, allocations: 1.709 MB / 0.9461 GB, free: 3.129 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001928/0.9679, allocations: 49.7 kB / 0.9462 GB, free: 3.074 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007808/0.9687, allocations: 0.8286 MB / 0.947 GB, free: 2.238 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004773/0.9692, allocations: 384.7 kB / 0.9473 GB, free: 1.859 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004674/0.9697, allocations: 234.8 kB / 0.9476 GB, free: 1.625 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001882/0.9699, allocations: 361.9 kB / 0.9479 GB, free: 1.266 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001992/0.9719, allocations: 0.67 MB / 0.9486 GB, free: 0.5938 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002415/0.9743, allocations: 1.049 MB / 0.9496 GB, free: 15.39 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004429/0.9788, allocations: 1.714 MB / 0.9513 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/0.9788, allocations: 0 / 0.9513 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.005417/0.9842, allocations: 1.932 MB / 0.9532 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.346e-05/0.9843, allocations: 13 kB / 0.9532 GB, free: 11.58 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/0.9843, allocations: 8 kB / 0.9532 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.901e-05/0.9844, allocations: 24 kB / 0.9532 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001894/0.9863, allocations: 356.3 kB / 0.9535 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.482e-05/0.9863, allocations: 23.92 kB / 0.9536 GB, free: 11.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002041/0.9884, allocations: 258.7 kB / 0.9538 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002052/0.9886, allocations: 59.97 kB / 0.9539 GB, free: 10.87 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (157): * Single equations (assignments): 157 * 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.0008985/0.9895, allocations: 411.5 kB / 0.9543 GB, free: 10.45 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004861/0.99, allocations: 198.7 kB / 0.9544 GB, free: 10.26 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005205/0.9952, allocations: 1.817 MB / 0.9562 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.662e-05/0.9953, allocations: 12 kB / 0.9562 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.9953, allocations: 0 / 0.9562 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-05/0.9953, allocations: 7.969 kB / 0.9562 GB, free: 8.41 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009149/1.004, allocations: 3.977 MB / 0.9601 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.576e-05/1.005, allocations: 8 kB / 0.9601 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001609/1.006, allocations: 271.9 kB / 0.9604 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.961e-05/1.006, allocations: 12 kB / 0.9604 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/1.006, allocations: 39.97 kB / 0.9604 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.935e-05/1.006, allocations: 19.92 kB / 0.9605 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/1.006, allocations: 7.938 kB / 0.9605 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007128/1.013, allocations: 2.919 MB / 0.9633 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001045/1.015, allocations: 407.4 kB / 0.9637 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003175/1.015, allocations: 27.98 kB / 0.9637 GB, free: 476 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001508/1.016, allocations: 127.9 kB / 0.9639 GB, free: 348 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002068/1.017, allocations: 84.38 kB / 0.9639 GB, free: 260 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/1.017, allocations: 47.97 kB / 0.964 GB, free: 212 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001968/1.019, allocations: 1.167 MB / 0.9651 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.8e-07/1.019, allocations: 0 / 0.9651 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001584/1.02, allocations: 467.5 kB / 0.9656 GB, free: 14.56 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (106): * Single equations (assignments): 100 * 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.0102/1.031, allocations: 3.971 MB / 0.9694 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005064/1.036, allocations: 1.643 MB / 0.971 GB, free: 9.004 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/1.036, allocations: 0 / 0.971 GB, free: 9.004 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002493/1.038, allocations: 0.8172 MB / 0.9718 GB, free: 8.191 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004983/1.043, allocations: 0.9636 MB / 0.9728 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03785/1.081, allocations: 14.66 MB / 0.9871 GB, free: 7.883 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001925/1.083, allocations: 1.364 MB / 0.9884 GB, free: 6.492 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.003193/1.086, allocations: 467 kB / 0.9889 GB, free: 6.031 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002086/1.088, allocations: 0.7179 MB / 0.9896 GB, free: 5.312 MB / 0.7481 GB Notification: Performance of SimCode: time 1.293e-06/1.088, allocations: 0 / 0.9896 GB, free: 5.312 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1593/1.248, allocations: 50.4 MB / 1.039 GB, free: 3.465 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/13.08, allocations: 5.781 kB / 1.039 GB, free: 3.461 MB / 0.795 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.csv --start-time 0 --stop-time 1200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.48 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)