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.0007698/0.0007698, 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.0007933/0.0007933, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8539/0.8539, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.001381/0.001381, allocations: 233.6 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.6417/0.6417, allocations: 138.4 MB / 454.3 MB, free: 1.609 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.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.403e-06/1.403e-06, allocations: 0 / 0.6464 GB, free: 28.99 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.795e-05/1.936e-05, allocations: 2.281 kB / 0.6464 GB, free: 28.99 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.003355/0.003375, allocations: 3.885 MB / 0.6502 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001375/0.004749, allocations: 2.234 MB / 0.6523 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.236e-05/0.004822, allocations: 1.469 kB / 0.6523 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0002202/0.005042, allocations: 43.25 kB / 0.6524 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0002166/0.005259, allocations: 104.6 kB / 0.6525 GB, free: 24.1 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008366/0.006095, allocations: 0.5619 MB / 0.653 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.000215/0.00631, allocations: 269.4 kB / 0.6533 GB, free: 23.53 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.492e-05/0.006345, allocations: 10.83 kB / 0.6533 GB, free: 23.52 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.006523, allocations: 160.3 kB / 0.6534 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.006635, allocations: 80.3 kB / 0.6535 GB, free: 23.39 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.006656, allocations: 8.188 kB / 0.6535 GB, free: 23.39 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004555/0.007111, allocations: 408.1 kB / 0.6539 GB, free: 23.19 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 6.057e-05/0.007172, allocations: 42.34 kB / 0.654 GB, free: 23.16 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 5.43e-05/0.007226, allocations: 62.17 kB / 0.654 GB, free: 23.13 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.000415/0.007641, allocations: 440.6 kB / 0.6544 GB, free: 22.88 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.007643, allocations: 4 kB / 0.6544 GB, free: 22.88 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.21e-07/0.007644, allocations: 1.156 kB / 0.6544 GB, free: 22.88 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.007648, allocations: 0 / 0.6544 GB, free: 22.88 MB / 0.5105 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.0004913/0.00814, allocations: 447.6 kB / 0.6549 GB, free: 22.48 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.008173, allocations: 10.34 kB / 0.6549 GB, free: 22.48 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.033e-05/0.008203, allocations: 48.39 kB / 0.6549 GB, free: 22.43 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009372/0.009141, allocations: 189.2 kB / 0.6551 GB, free: 22.34 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/0.009322, allocations: 152.1 kB / 0.6553 GB, free: 22.18 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.009343, allocations: 11.3 kB / 0.6553 GB, free: 22.18 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.454e-05/0.009367, allocations: 18.31 kB / 0.6553 GB, free: 22.17 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003714/0.009739, allocations: 0.5098 MB / 0.6558 GB, free: 21.68 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.009748, allocations: 1.438 kB / 0.6558 GB, free: 21.68 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.452e-05/0.009772, allocations: 14.73 kB / 0.6558 GB, free: 21.66 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/0.009787, allocations: 5.469 kB / 0.6558 GB, free: 21.66 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00037/0.01016, allocations: 261.3 kB / 0.6561 GB, free: 21.53 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007819/0.01094, allocations: 1.2 MB / 0.6572 GB, free: 20.38 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003903/0.01133, allocations: 189.2 kB / 0.6574 GB, free: 20.28 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.01145, allocations: 70.34 kB / 0.6575 GB, free: 20.24 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.01147, allocations: 3.25 kB / 0.6575 GB, free: 20.24 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.526e-05/0.01148, allocations: 40.75 kB / 0.6575 GB, free: 20.19 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 1.162e-06/0.01148, allocations: 0 / 0.6575 GB, free: 20.19 MB / 0.5105 GB Notification: Performance of matching and sorting (n=18): time 0.0004586/0.01194, allocations: 247.5 kB / 0.6578 GB, free: 20.06 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.683e-05/0.01196, allocations: 54.72 kB / 0.6578 GB, free: 20 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.612e-05/0.01203, allocations: 160.5 kB / 0.658 GB, free: 19.86 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.01205, allocations: 36.75 kB / 0.658 GB, free: 19.82 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.769e-05/0.01209, allocations: 126.4 kB / 0.6581 GB, free: 19.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.01211, allocations: 63.5 kB / 0.6582 GB, free: 19.65 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.487e-05/0.01217, allocations: 50.83 kB / 0.6582 GB, free: 19.61 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.037e-05/0.0122, allocations: 322.5 kB / 0.6585 GB, free: 19.29 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.01231, allocations: 66.77 kB / 0.6586 GB, free: 19.25 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.01244, allocations: 144 kB / 0.6587 GB, free: 19.12 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002508/0.01269, allocations: 214.4 kB / 0.6589 GB, free: 18.96 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.01269, allocations: 1.188 kB / 0.6589 GB, free: 18.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003161/0.01301, allocations: 263.5 kB / 0.6592 GB, free: 18.82 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.01302, allocations: 5.219 kB / 0.6592 GB, free: 18.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.01303, allocations: 3.219 kB / 0.6592 GB, free: 18.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.01304, allocations: 4.219 kB / 0.6592 GB, free: 18.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/0.01322, allocations: 66.45 kB / 0.6593 GB, free: 18.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.01322, allocations: 11.61 kB / 0.6593 GB, free: 18.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.01333, allocations: 26.84 kB / 0.6593 GB, free: 18.78 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.01334, allocations: 20.75 kB / 0.6593 GB, free: 18.77 MB / 0.5105 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 6.269e-05/0.0134, allocations: 129.8 kB / 0.6594 GB, free: 18.64 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.015e-05/0.01343, allocations: 21.09 kB / 0.6595 GB, free: 18.63 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003443/0.01378, allocations: 229.7 kB / 0.6597 GB, free: 18.49 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.01378, allocations: 6.312 kB / 0.6597 GB, free: 18.48 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.01379, allocations: 4.969 kB / 0.6597 GB, free: 18.48 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.01379, allocations: 0 / 0.6597 GB, free: 18.48 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001544/0.01394, allocations: 204.5 kB / 0.6599 GB, free: 18.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.01394, allocations: 7.938 kB / 0.6599 GB, free: 18.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.01409, allocations: 50.64 kB / 0.6599 GB, free: 18.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.01409, allocations: 1.375 kB / 0.6599 GB, free: 18.25 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.0141, allocations: 5.062 kB / 0.6599 GB, free: 18.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.0141, allocations: 1.125 kB / 0.6599 GB, free: 18.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.0141, allocations: 0 / 0.6599 GB, free: 18.25 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002882/0.01439, allocations: 298.2 kB / 0.6602 GB, free: 18.04 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.054e-05/0.01444, allocations: 32.53 kB / 0.6603 GB, free: 18.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/0.01446, allocations: 9.234 kB / 0.6603 GB, free: 18.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.01459, allocations: 17.23 kB / 0.6603 GB, free: 18 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.16e-05/0.01461, allocations: 11.7 kB / 0.6603 GB, free: 17.99 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.01462, allocations: 10.45 kB / 0.6603 GB, free: 17.99 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.794e-05/0.01467, allocations: 121 kB / 0.6604 GB, free: 17.89 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.01467, allocations: 0 / 0.6604 GB, free: 17.89 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002432/0.01491, allocations: 59.06 kB / 0.6605 GB, free: 17.89 MB / 0.5105 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.0004777/0.01539, allocations: 0.8636 MB / 0.6613 GB, free: 17.12 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003143/0.01571, allocations: 171.5 kB / 0.6615 GB, free: 17.05 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.01571, allocations: 0 / 0.6615 GB, free: 17.05 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.01582, allocations: 81.84 kB / 0.6616 GB, free: 17.02 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.01612, allocations: 57.23 kB / 0.6616 GB, free: 16.99 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/0.01779, allocations: 2.148 MB / 0.6637 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.027e-05/0.01784, allocations: 106 kB / 0.6638 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001572/0.01799, allocations: 53.92 kB / 0.6639 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.37e-05/0.01807, allocations: 48.47 kB / 0.6639 GB, free: 14.99 MB / 0.5105 GB Notification: Performance of SimCode: time 7.01e-07/0.01807, allocations: 0 / 0.6639 GB, free: 14.99 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01449/0.03256, allocations: 6.191 MB / 0.67 GB, free: 9.094 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.374/6.406, allocations: 14.48 kB / 0.67 GB, free: 9.086 MB / 0.5105 GB " [Timeout remaining time 654] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.022509837523103] Failed to read output from testmodel.py, exit status != 0: 6.485681265592575 6.492933882 6.483446627 Calling exit ...