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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009189/0.0009189, allocations: 80.48 kB / 19.93 MB, free: 4.621 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008545/0.0008545, allocations: 169.9 kB / 23.21 MB, free: 1.344 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.921/0.921, allocations: 177.2 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5836/0.5836, allocations: 114 MB / 373.9 MB, free: 8.691 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.444e-06/2.444e-06, allocations: 0 / 0.5542 GB, free: 2.738 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.853e-05/3.098e-05, allocations: 10.22 kB / 0.5542 GB, free: 2.727 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.5082/0.5083, allocations: 214.2 MB / 0.7634 GB, free: 32.81 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01058/0.5189, allocations: 8.039 MB / 0.7713 GB, free: 27.89 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001882/0.5207, allocations: 90.06 kB / 0.7713 GB, free: 27.89 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001889/0.5226, allocations: 1.062 MB / 0.7724 GB, free: 27.61 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00625/0.5289, allocations: 3.288 MB / 0.7756 GB, free: 26.06 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.007111/0.536, allocations: 3.622 MB / 0.7791 GB, free: 24.46 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.005111/0.5411, allocations: 3.92 MB / 0.783 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001792/0.5429, allocations: 1.039 MB / 0.784 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004721/0.5476, allocations: 2.778 MB / 0.7867 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001959/0.5496, allocations: 1.24 MB / 0.7879 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002609/0.5498, allocations: 135.2 kB / 0.788 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006108/0.5559, allocations: 3.23 MB / 0.7912 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0006231/0.5566, allocations: 0.6424 MB / 0.7918 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.000947/0.5575, allocations: 0.6682 MB / 0.7925 GB, free: 18.92 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.005962/0.5635, allocations: 3.86 MB / 0.7962 GB, free: 17.66 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.5635, allocations: 0 / 0.7962 GB, free: 17.66 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.084e-06/0.5635, allocations: 2.531 kB / 0.7962 GB, free: 17.66 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.903e-05/0.5635, allocations: 0 / 0.7962 GB, free: 17.66 MB / 0.6355 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.004169/0.5677, allocations: 2.611 MB / 0.7988 GB, free: 16.1 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.5678, allocations: 12.62 kB / 0.7988 GB, free: 16.1 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001697/0.5679, allocations: 195.2 kB / 0.799 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003564/0.5715, allocations: 1.143 MB / 0.8001 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001632/0.5731, allocations: 1.137 MB / 0.8012 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.526e-05/0.5732, allocations: 96.03 kB / 0.8013 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001545/0.5733, allocations: 132.1 kB / 0.8014 GB, free: 15.06 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002259/0.5756, allocations: 1.965 MB / 0.8033 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.84e-05/0.5756, allocations: 7.906 kB / 0.8033 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.299e-05/0.5757, allocations: 53.84 kB / 0.8034 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.364e-05/0.5758, allocations: 59.25 kB / 0.8035 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002816/0.5786, allocations: 1.9 MB / 0.8053 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005854/0.5844, allocations: 6.774 MB / 0.8119 GB, free: 8.75 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002049/0.5865, allocations: 1.467 MB / 0.8134 GB, free: 8.055 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009531/0.5874, allocations: 0.7565 MB / 0.8141 GB, free: 7.684 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004726/0.5879, allocations: 205.4 kB / 0.8143 GB, free: 7.613 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001098/0.589, allocations: 0.8848 MB / 0.8152 GB, free: 7.105 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=106): time 3.377e-06/0.589, allocations: 6.156 kB / 0.8152 GB, free: 7.102 MB / 0.6355 GB Notification: Performance of matching and sorting (n=106): time 0.003735/0.5928, allocations: 2.41 MB / 0.8175 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.5928, allocations: 65.38 kB / 0.8176 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001406/0.5942, allocations: 1.773 MB / 0.8193 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.886e-05/0.5943, allocations: 47.17 kB / 0.8194 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003566/0.5946, allocations: 0.8377 MB / 0.8202 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002086/0.5948, allocations: 384.2 kB / 0.8205 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002373/0.5951, allocations: 234.8 kB / 0.8208 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.03e-05/0.5951, allocations: 352.4 kB / 0.8211 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009186/0.5961, allocations: 0.6809 MB / 0.8218 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001077/0.5971, allocations: 1.287 MB / 0.823 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002046/0.5992, allocations: 1.729 MB / 0.8247 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.714e-06/0.5992, allocations: 2.531 kB / 0.8247 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002688/0.6019, allocations: 1.944 MB / 0.8266 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/0.6019, allocations: 7.531 kB / 0.8266 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.6019, allocations: 11.62 kB / 0.8266 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.766e-05/0.6019, allocations: 16.28 kB / 0.8266 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009085/0.6028, allocations: 371.4 kB / 0.827 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.001e-05/0.6029, allocations: 21.16 kB / 0.827 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/0.6039, allocations: 256.2 kB / 0.8273 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.054e-05/0.604, allocations: 69.66 kB / 0.8273 GB, free: 15.73 MB / 0.6511 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.0005145/0.6045, allocations: 400.1 kB / 0.8277 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001808/0.6047, allocations: 200.6 kB / 0.8279 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002601/0.6073, allocations: 1.869 MB / 0.8297 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.6073, allocations: 11.97 kB / 0.8297 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.6073, allocations: 0 / 0.8297 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/0.6073, allocations: 7.984 kB / 0.8297 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00475/0.6121, allocations: 3.842 MB / 0.8335 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.6121, allocations: 4 kB / 0.8335 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006968/0.6128, allocations: 287.4 kB / 0.8338 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.17e-05/0.6128, allocations: 19.98 kB / 0.8338 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.459e-05/0.6129, allocations: 43.91 kB / 0.8338 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.838e-06/0.6129, allocations: 14.62 kB / 0.8339 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/0.6129, allocations: 13.66 kB / 0.8339 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003661/0.6165, allocations: 2.977 MB / 0.8368 GB, free: 7.609 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004915/0.617, allocations: 332.3 kB / 0.8371 GB, free: 7.285 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001512/0.6172, allocations: 31.94 kB / 0.8371 GB, free: 7.254 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006448/0.6178, allocations: 127.9 kB / 0.8372 GB, free: 7.129 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.6179, allocations: 89.95 kB / 0.8373 GB, free: 7.047 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.478e-05/0.618, allocations: 51.97 kB / 0.8374 GB, free: 6.996 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.00109/0.6191, allocations: 1.195 MB / 0.8385 GB, free: 5.777 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8e-08/0.6191, allocations: 0 / 0.8385 GB, free: 5.777 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001087/0.6202, allocations: 471.5 kB / 0.839 GB, free: 5.316 MB / 0.6511 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 (112): * Single equations (assignments): 106 * 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.005077/0.6253, allocations: 4.045 MB / 0.8429 GB, free: 1.398 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002419/0.6277, allocations: 1.604 MB / 0.8445 GB, free: 15.84 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.6277, allocations: 4.25 kB / 0.8445 GB, free: 15.84 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001133/0.6288, allocations: 0.8049 MB / 0.8453 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002267/0.6311, allocations: 0.9454 MB / 0.8462 GB, free: 14.16 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01644/0.6475, allocations: 14.78 MB / 0.8607 GB, free: 14.78 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005592/0.6481, allocations: 0.7908 MB / 0.8614 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001377/0.6495, allocations: 462.8 kB / 0.8619 GB, free: 13.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007906/0.6503, allocations: 0.719 MB / 0.8626 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of SimCode: time 1.312e-06/0.6503, allocations: 3.938 kB / 0.8626 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06915/0.7194, allocations: 55.04 MB / 0.9163 GB, free: 6.734 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.834/9.553, allocations: 0 / 0.9163 GB, free: 6.734 MB / 0.7292 GB " [Timeout remaining time 650] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.322872795164585] Failed to read output from testmodel.py, exit status != 0: 9.67977029364556 9.692574486 9.126208354 Calling exit ...