Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.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.0007024/0.0007024, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007265/0.0007265, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8647/0.8647, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001493/0.001493, allocations: 233 kB / 259.4 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6641/0.6641, allocations: 138.4 MB / 454.3 MB, free: 1.656 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 0.6463 GB, free: 29.11 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.93e-05/2.12e-05, allocations: 4.391 kB / 0.6463 GB, free: 29.11 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.1398/0.1398, allocations: 171.2 MB / 0.8135 GB, free: 5.887 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.00723/0.1471, allocations: 5.024 MB / 0.8184 GB, free: 0.8516 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001303/0.1484, allocations: 63.44 kB / 0.8185 GB, free: 0.7891 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002094/0.1505, allocations: 0.8156 MB / 0.8193 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.005596/0.1561, allocations: 2.783 MB / 0.822 GB, free: 13.17 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.002831/0.1589, allocations: 1.081 MB / 0.823 GB, free: 12.09 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.003475/0.1624, allocations: 2.769 MB / 0.8257 GB, free: 9.312 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001528/0.1639, allocations: 0.7635 MB / 0.8265 GB, free: 8.539 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002625/0.1665, allocations: 1.465 MB / 0.8279 GB, free: 7.07 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001363/0.1679, allocations: 0.9311 MB / 0.8288 GB, free: 6.137 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0002067/0.1681, allocations: 88 kB / 0.8289 GB, free: 6.051 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002546/0.1706, allocations: 1.519 MB / 0.8304 GB, free: 4.527 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0005261/0.1712, allocations: 490.4 kB / 0.8309 GB, free: 4.047 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0006638/0.1718, allocations: 458.7 kB / 0.8313 GB, free: 3.598 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.003749/0.1756, allocations: 2.239 MB / 0.8335 GB, free: 1.352 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.1756, allocations: 4 kB / 0.8335 GB, free: 1.348 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.743e-06/0.1756, allocations: 0 / 0.8335 GB, free: 1.348 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.096e-05/0.1756, allocations: 0 / 0.8335 GB, free: 1.348 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.003679/0.1793, allocations: 1.942 MB / 0.8354 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.1794, allocations: 12.75 kB / 0.8354 GB, free: 15.35 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001506/0.1795, allocations: 135.6 kB / 0.8355 GB, free: 15.21 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002826/0.1823, allocations: 0.9119 MB / 0.8364 GB, free: 14.29 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001598/0.1839, allocations: 0.8841 MB / 0.8373 GB, free: 13.37 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.741e-05/0.184, allocations: 69.92 kB / 0.8374 GB, free: 13.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001514/0.1841, allocations: 95.98 kB / 0.8374 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002507/0.1866, allocations: 1.587 MB / 0.839 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/0.1867, allocations: 0 / 0.839 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.291e-05/0.1867, allocations: 32 kB / 0.839 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.885e-05/0.1868, allocations: 53.98 kB / 0.8391 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003375/0.1902, allocations: 1.862 MB / 0.8409 GB, free: 9.637 MB / 0.6823 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.005679/0.1958, allocations: 3.966 MB / 0.8448 GB, free: 5.57 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002589/0.1984, allocations: 1.521 MB / 0.8463 GB, free: 4.039 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001295/0.1997, allocations: 0.8195 MB / 0.8471 GB, free: 3.219 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005001/0.2002, allocations: 192.8 kB / 0.8472 GB, free: 3.027 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001758/0.202, allocations: 0.9267 MB / 0.8481 GB, free: 2.09 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=95): time 4.138e-06/0.202, allocations: 0 / 0.8481 GB, free: 2.09 MB / 0.6823 GB Notification: Performance of matching and sorting (n=95): time 0.004437/0.2064, allocations: 2.486 MB / 0.8506 GB, free: 15.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/0.2065, allocations: 60.41 kB / 0.8506 GB, free: 15.52 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001197/0.2077, allocations: 1.257 MB / 0.8519 GB, free: 14.26 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001692/0.2078, allocations: 49.7 kB / 0.8519 GB, free: 14.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003357/0.2082, allocations: 0.5572 MB / 0.8524 GB, free: 13.64 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003071/0.2085, allocations: 337.1 kB / 0.8528 GB, free: 13.31 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002339/0.2087, allocations: 186.6 kB / 0.8529 GB, free: 13.12 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.396e-05/0.2088, allocations: 349.9 kB / 0.8533 GB, free: 12.77 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001239/0.2101, allocations: 0.7083 MB / 0.854 GB, free: 12.07 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001675/0.2117, allocations: 1.139 MB / 0.8551 GB, free: 10.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002567/0.2143, allocations: 1.573 MB / 0.8566 GB, free: 9.176 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.2143, allocations: 0 / 0.8566 GB, free: 9.176 MB / 0.698 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.003101/0.2174, allocations: 1.804 MB / 0.8584 GB, free: 7.359 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/0.2174, allocations: 9.406 kB / 0.8584 GB, free: 7.352 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.2174, allocations: 4 kB / 0.8584 GB, free: 7.348 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-05/0.2175, allocations: 8.438 kB / 0.8584 GB, free: 7.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009348/0.2184, allocations: 347.5 kB / 0.8587 GB, free: 7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.765e-05/0.2184, allocations: 12.03 kB / 0.8587 GB, free: 6.988 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009522/0.2194, allocations: 243 kB / 0.859 GB, free: 6.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.5e-05/0.2195, allocations: 43.98 kB / 0.859 GB, free: 6.707 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.0005511/0.22, allocations: 336.1 kB / 0.8593 GB, free: 6.371 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002451/0.2203, allocations: 151 kB / 0.8595 GB, free: 6.223 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003022/0.2233, allocations: 1.858 MB / 0.8613 GB, free: 4.359 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/0.2233, allocations: 11.94 kB / 0.8613 GB, free: 4.348 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.2233, allocations: 0 / 0.8613 GB, free: 4.348 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/0.2233, allocations: 11.97 kB / 0.8613 GB, free: 4.336 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005192/0.2285, allocations: 3.216 MB / 0.8645 GB, free: 1.027 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.226e-06/0.2285, allocations: 4.5 kB / 0.8645 GB, free: 1.023 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008994/0.2294, allocations: 307.5 kB / 0.8648 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-05/0.2294, allocations: 8 kB / 0.8648 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-05/0.2295, allocations: 31.97 kB / 0.8648 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.045e-05/0.2295, allocations: 11.94 kB / 0.8648 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/0.2295, allocations: 4 kB / 0.8648 GB, free: 0.668 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2813/0.5109, allocations: 2.909 MB / 0.8677 GB, free: 215.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006531/0.5115, allocations: 261 kB / 0.8679 GB, free: 215.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002103/0.5117, allocations: 29.47 kB / 0.8679 GB, free: 215.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008706/0.5126, allocations: 162 kB / 0.8681 GB, free: 215.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001609/0.5127, allocations: 79.12 kB / 0.8682 GB, free: 215.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.633e-05/0.5128, allocations: 38.62 kB / 0.8682 GB, free: 215.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001271/0.5141, allocations: 0.8743 MB / 0.8691 GB, free: 215.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5141, allocations: 0 / 0.8691 GB, free: 215.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001217/0.5153, allocations: 350 kB / 0.8694 GB, free: 215.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * 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 (101): * Single equations (assignments): 95 * 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.005571/0.5209, allocations: 3.907 MB / 0.8732 GB, free: 213.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002985/0.5239, allocations: 1.615 MB / 0.8748 GB, free: 213.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/0.5239, allocations: 1.188 kB / 0.8748 GB, free: 213.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001397/0.5253, allocations: 0.834 MB / 0.8756 GB, free: 212.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001943/0.5272, allocations: 0.6189 MB / 0.8762 GB, free: 212.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01671/0.5439, allocations: 12.17 MB / 0.8881 GB, free: 205.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003883/0.5443, allocations: 0.6035 MB / 0.8887 GB, free: 204.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001232/0.5456, allocations: 372.3 kB / 0.889 GB, free: 204.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000611/0.5462, allocations: 0.5081 MB / 0.8895 GB, free: 203.9 MB / 0.698 GB Notification: Performance of SimCode: time 1.623e-06/0.5462, allocations: 2.188 kB / 0.8895 GB, free: 203.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04668/0.5928, allocations: 39.37 MB / 0.928 GB, free: 165.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.331/7.924, allocations: 11.86 kB / 0.928 GB, free: 165.2 MB / 0.698 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_res.csv --start-time 0 --stop-time 1200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.48 BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.766664020717144] Failed to read output from testmodel.py, exit status != 0: 8.034621715545654 8.040866162 7.86364986 Calling exit ...