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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 108.1 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001745/0.001745, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002336/0.002336, allocations: 285.2 kB / 303 MB, free: 3.645 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.057/1.057, allocations: 180.9 MB / 0.5261 GB, free: 3.164 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(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 0.002845/0.002845, allocations: 99.84 kB / 0.7248 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5158/0.5186, allocations: 94.15 MB / 0.8168 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.00475/0.5234, allocations: 4.078 MB / 0.8207 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0026/0.526, allocations: 2.433 MB / 0.8231 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.408e-05/0.526, allocations: 1.094 kB / 0.8231 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002871/0.5263, allocations: 47.12 kB / 0.8232 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002752/0.5266, allocations: 104.4 kB / 0.8233 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.5278, allocations: 0.5346 MB / 0.8238 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002948/0.5281, allocations: 257.8 kB / 0.824 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.326e-05/0.5281, allocations: 16.67 kB / 0.8241 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001926/0.5283, allocations: 116.1 kB / 0.8242 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.5285, allocations: 95.89 kB / 0.8243 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.14e-05/0.5285, allocations: 12.34 kB / 0.8243 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007751/0.5293, allocations: 470.2 kB / 0.8247 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.633e-05/0.5293, allocations: 44.19 kB / 0.8248 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.277e-05/0.5294, allocations: 78.75 kB / 0.8248 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006182/0.53, allocations: 413.6 kB / 0.8252 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.53, allocations: 0.6562 kB / 0.8252 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.412e-06/0.53, allocations: 0 / 0.8252 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.134e-05/0.5301, allocations: 3.938 kB / 0.8252 GB, free: 1.605 MB / 0.5762 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.0006488/0.5307, allocations: 0.5006 MB / 0.8257 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.5307, allocations: 13.25 kB / 0.8257 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.59e-05/0.5308, allocations: 55.48 kB / 0.8258 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001949/0.5327, allocations: 172.4 kB / 0.8259 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002933/0.533, allocations: 221.8 kB / 0.8262 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/0.5331, allocations: 14.45 kB / 0.8262 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.974e-05/0.5331, allocations: 15.16 kB / 0.8262 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000604/0.5337, allocations: 306.7 kB / 0.8265 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.5337, allocations: 0 / 0.8265 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.321e-05/0.5337, allocations: 14.17 kB / 0.8265 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.802e-05/0.5338, allocations: 3.906 kB / 0.8265 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006563/0.5344, allocations: 266.9 kB / 0.8268 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001606/0.536, allocations: 1.384 MB / 0.8281 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006265/0.5366, allocations: 180.9 kB / 0.8283 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002152/0.5369, allocations: 74.56 kB / 0.8283 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.103e-05/0.5369, allocations: 7.281 kB / 0.8284 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.5369, allocations: 33.09 kB / 0.8284 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=18): time 1.463e-06/0.5369, allocations: 0 / 0.8284 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18): time 0.0007682/0.5377, allocations: 239 kB / 0.8286 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/0.5377, allocations: 61.91 kB / 0.8287 GB, free: 15 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.5379, allocations: 157.8 kB / 0.8288 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.308e-05/0.5379, allocations: 33.67 kB / 0.8289 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.328e-05/0.538, allocations: 127.5 kB / 0.829 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.975e-05/0.5381, allocations: 66.59 kB / 0.829 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.056e-05/0.5382, allocations: 51.92 kB / 0.8291 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.5383, allocations: 329.8 kB / 0.8294 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000203/0.5385, allocations: 68.52 kB / 0.8295 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002485/0.5388, allocations: 135.3 kB / 0.8296 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004604/0.5392, allocations: 229.8 kB / 0.8298 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5392, allocations: 0 / 0.8298 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005762/0.5398, allocations: 249.8 kB / 0.8301 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.5398, allocations: 5.531 kB / 0.8301 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.5398, allocations: 2.75 kB / 0.8301 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.5399, allocations: 6.062 kB / 0.8301 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003641/0.5402, allocations: 64.31 kB / 0.8301 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.5402, allocations: 12.77 kB / 0.8301 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002454/0.5405, allocations: 32.55 kB / 0.8302 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.308e-05/0.5405, allocations: 9.031 kB / 0.8302 GB, free: 13.9 MB / 0.5919 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 0.0001321/0.5406, allocations: 135 kB / 0.8303 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.613e-05/0.5407, allocations: 16.5 kB / 0.8303 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006302/0.5413, allocations: 236.4 kB / 0.8306 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.5413, allocations: 2.562 kB / 0.8306 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.5413, allocations: 4.844 kB / 0.8306 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.5413, allocations: 0.5625 kB / 0.8306 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003213/0.5416, allocations: 240.9 kB / 0.8308 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.5416, allocations: 0 / 0.8308 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003094/0.542, allocations: 49.3 kB / 0.8308 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.542, allocations: 3.438 kB / 0.8308 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/0.542, allocations: 5.266 kB / 0.8308 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.542, allocations: 3.484 kB / 0.8309 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.542, allocations: 0 / 0.8309 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005303/0.5425, allocations: 298.3 kB / 0.8311 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.5426, allocations: 110.4 kB / 0.8312 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.672e-05/0.5427, allocations: 6.906 kB / 0.8312 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002773/0.5429, allocations: 17.97 kB / 0.8313 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.993e-05/0.543, allocations: 13.66 kB / 0.8313 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.606e-05/0.543, allocations: 11.55 kB / 0.8313 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 8.909e-05/0.5431, allocations: 115.6 kB / 0.8314 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.5431, allocations: 0 / 0.8314 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00037/0.5435, allocations: 66.52 kB / 0.8315 GB, free: 13 MB / 0.5919 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.0009998/0.5445, allocations: 0.8626 MB / 0.8323 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005134/0.545, allocations: 180.5 kB / 0.8325 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.545, allocations: 0 / 0.8325 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002139/0.5452, allocations: 79.61 kB / 0.8326 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004899/0.5457, allocations: 65.62 kB / 0.8326 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003396/0.5491, allocations: 2.179 MB / 0.8347 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004222/0.5495, allocations: 0.7214 MB / 0.8354 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002883/0.5498, allocations: 49.03 kB / 0.8355 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.5499, allocations: 49.5 kB / 0.8355 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of SimCode: time 4.61e-07/0.5499, allocations: 0 / 0.8355 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02935/0.5793, allocations: 5.255 MB / 0.8407 GB, free: 9.141 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.281/8.86, allocations: 5.375 kB / 0.8407 GB, free: 9.141 MB / 0.5919 GB " [Timeout remaining time 651] (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: 12.753587543033063] Failed to read output from testmodel.py, exit status != 0: 8.935717991087586 8.960363665 8.425640459 Calling exit ...