Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.0007697/0.0007697, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008029/0.0008029, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8542/0.8542, allocations: 177.2 MB / 202.8 MB, free: 5.738 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.001411/0.001411, allocations: 248 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.6629/0.6629, allocations: 138.4 MB / 454.3 MB, free: 30.04 MB / 410.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.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.6463 GB, free: 1.859 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.049e-05/2.217e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.852 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.2569/0.257, allocations: 3.896 MB / 0.6501 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001739/0.2587, allocations: 2.227 MB / 0.6523 GB, free: 54 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.767e-05/0.2588, allocations: 4.688 kB / 0.6523 GB, free: 53.99 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.000313/0.2591, allocations: 47.02 kB / 0.6524 GB, free: 53.97 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.000296/0.2594, allocations: 104.4 kB / 0.6525 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001365/0.2608, allocations: 0.5564 MB / 0.653 GB, free: 53.71 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0003128/0.2611, allocations: 267.9 kB / 0.6533 GB, free: 53.62 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.782e-05/0.2611, allocations: 12.03 kB / 0.6533 GB, free: 53.62 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002474/0.2614, allocations: 152.8 kB / 0.6534 GB, free: 53.59 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/0.2615, allocations: 82.16 kB / 0.6535 GB, free: 53.57 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.59e-05/0.2615, allocations: 9.156 kB / 0.6535 GB, free: 53.57 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007354/0.2623, allocations: 403 kB / 0.6539 GB, free: 53.5 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 7.766e-05/0.2624, allocations: 47.36 kB / 0.6539 GB, free: 53.49 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 6.941e-05/0.2624, allocations: 63.89 kB / 0.654 GB, free: 53.47 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0005635/0.263, allocations: 437.6 kB / 0.6544 GB, free: 53.32 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.263, allocations: 1.812 kB / 0.6544 GB, free: 53.32 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.826e-06/0.263, allocations: 1.172 kB / 0.6544 GB, free: 53.32 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.263, allocations: 0 / 0.6544 GB, free: 53.32 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.000613/0.2636, allocations: 446.4 kB / 0.6548 GB, free: 52.96 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.2637, allocations: 9.75 kB / 0.6549 GB, free: 52.96 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.855e-05/0.2637, allocations: 49.91 kB / 0.6549 GB, free: 52.91 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001053/0.2648, allocations: 188.9 kB / 0.6551 GB, free: 52.89 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002817/0.265, allocations: 163.6 kB / 0.6552 GB, free: 52.74 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/0.2651, allocations: 10.36 kB / 0.6553 GB, free: 52.73 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.825e-05/0.2651, allocations: 15.88 kB / 0.6553 GB, free: 52.73 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004976/0.2656, allocations: 0.5047 MB / 0.6558 GB, free: 52.3 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.2656, allocations: 7.062 kB / 0.6558 GB, free: 52.3 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.544e-05/0.2656, allocations: 11.62 kB / 0.6558 GB, free: 52.29 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.157e-05/0.2656, allocations: 6 kB / 0.6558 GB, free: 52.29 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004348/0.2661, allocations: 260.9 kB / 0.656 GB, free: 52.23 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009303/0.267, allocations: 1.194 MB / 0.6572 GB, free: 51.16 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004165/0.2674, allocations: 186.6 kB / 0.6574 GB, free: 51.09 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/0.2676, allocations: 72.41 kB / 0.6574 GB, free: 51.07 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.2676, allocations: 7.812 kB / 0.6575 GB, free: 51.07 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/0.2676, allocations: 35.75 kB / 0.6575 GB, free: 51.02 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=18): time 2.094e-06/0.2676, allocations: 0.6562 kB / 0.6575 GB, free: 51.02 MB / 0.5573 GB Notification: Performance of matching and sorting (n=18): time 0.0004935/0.2681, allocations: 254.1 kB / 0.6577 GB, free: 50.93 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.325e-05/0.2681, allocations: 55.41 kB / 0.6578 GB, free: 50.86 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.459e-05/0.2682, allocations: 168.2 kB / 0.6579 GB, free: 50.74 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.2682, allocations: 27.36 kB / 0.658 GB, free: 50.71 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.334e-05/0.2683, allocations: 127.5 kB / 0.6581 GB, free: 50.59 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.846e-05/0.2683, allocations: 66.55 kB / 0.6582 GB, free: 50.54 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.979e-05/0.2684, allocations: 54.47 kB / 0.6582 GB, free: 50.5 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.717e-05/0.2684, allocations: 322.7 kB / 0.6585 GB, free: 50.18 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.2685, allocations: 64.86 kB / 0.6586 GB, free: 50.17 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/0.2687, allocations: 149.2 kB / 0.6587 GB, free: 50.05 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002611/0.2689, allocations: 214.3 kB / 0.6589 GB, free: 49.91 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.2689, allocations: 0 / 0.6589 GB, free: 49.91 MB / 0.5573 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003392/0.2693, allocations: 260.8 kB / 0.6592 GB, free: 49.79 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.2693, allocations: 12.25 kB / 0.6592 GB, free: 49.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.2693, allocations: 1.906 kB / 0.6592 GB, free: 49.79 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.2693, allocations: 3.844 kB / 0.6592 GB, free: 49.79 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001966/0.2695, allocations: 66.47 kB / 0.6593 GB, free: 49.79 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.2695, allocations: 4.703 kB / 0.6593 GB, free: 49.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.2696, allocations: 34.98 kB / 0.6593 GB, free: 49.77 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.759e-05/0.2697, allocations: 14.59 kB / 0.6593 GB, free: 49.76 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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 7.154e-05/0.2697, allocations: 131.3 kB / 0.6594 GB, free: 49.63 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.359e-05/0.2698, allocations: 20.7 kB / 0.6594 GB, free: 49.62 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003735/0.2701, allocations: 226.5 kB / 0.6597 GB, free: 49.53 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.2701, allocations: 2.594 kB / 0.6597 GB, free: 49.53 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.2701, allocations: 1.594 kB / 0.6597 GB, free: 49.53 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.2701, allocations: 0.6562 kB / 0.6597 GB, free: 49.53 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.2703, allocations: 205.9 kB / 0.6599 GB, free: 49.33 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.2703, allocations: 6.297 kB / 0.6599 GB, free: 49.33 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001486/0.2705, allocations: 51.78 kB / 0.6599 GB, free: 49.32 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.2705, allocations: 2 kB / 0.6599 GB, free: 49.32 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.2705, allocations: 7.047 kB / 0.6599 GB, free: 49.32 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.2705, allocations: 0.7031 kB / 0.6599 GB, free: 49.32 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.2705, allocations: 1.906 kB / 0.6599 GB, free: 49.32 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003108/0.2708, allocations: 294 kB / 0.6602 GB, free: 49.14 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.19e-05/0.2709, allocations: 34.77 kB / 0.6602 GB, free: 49.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.2709, allocations: 3.031 kB / 0.6602 GB, free: 49.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.271, allocations: 21.61 kB / 0.6603 GB, free: 49.11 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.471e-05/0.271, allocations: 13.03 kB / 0.6603 GB, free: 49.11 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.2711, allocations: 11.23 kB / 0.6603 GB, free: 49.11 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 4.882e-05/0.2711, allocations: 112.7 kB / 0.6604 GB, free: 49.02 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.2711, allocations: 0 / 0.6604 GB, free: 49.02 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002688/0.2714, allocations: 60.17 kB / 0.6605 GB, free: 49.02 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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 Backend phase and start with SimCode phase: time 0.0005419/0.2719, allocations: 0.8727 MB / 0.6613 GB, free: 48.28 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003175/0.2722, allocations: 171.2 kB / 0.6615 GB, free: 48.23 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2722, allocations: 1.562 kB / 0.6615 GB, free: 48.23 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.2724, allocations: 80.92 kB / 0.6616 GB, free: 48.21 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.2727, allocations: 61.2 kB / 0.6616 GB, free: 48.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001792/0.2745, allocations: 2.141 MB / 0.6637 GB, free: 46.58 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.911e-05/0.2745, allocations: 108.5 kB / 0.6638 GB, free: 46.5 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001812/0.2747, allocations: 52.89 kB / 0.6639 GB, free: 46.48 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.716e-05/0.2748, allocations: 48.55 kB / 0.6639 GB, free: 46.45 MB / 0.5573 GB Notification: Performance of SimCode: time 8.01e-07/0.2748, allocations: 0 / 0.6639 GB, free: 46.45 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02015/0.295, allocations: 6.195 MB / 0.67 GB, free: 45.28 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.446/6.741, allocations: 6.625 kB / 0.67 GB, free: 45.27 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.319202198646963] Failed to read output from testmodel.py, exit status != 0: 6.819630723446608 6.830940646 6.565756436 Calling exit ...