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.001299/0.001299, allocations: 115.6 kB / 17.17 MB, free: 5.977 MB / 14.72 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.001393/0.001393, allocations: 214.1 kB / 20.13 MB, free: 3.039 MB / 14.72 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 1.403/1.403, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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.002372/0.002372, allocations: 292.4 kB / 309.8 MB, free: 3.535 MB / 238.1 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 1.026/1.026, allocations: 180.6 MB / 0.5338 GB, free: 12.39 MB / 398.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002833/0.002833, allocations: 97.73 kB / 0.7347 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4828/0.4857, allocations: 95.34 MB / 0.8278 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004467/0.4901, allocations: 4.144 MB / 0.8319 GB, free: 108 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002901/0.493, allocations: 2.445 MB / 0.8343 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.992e-05/0.4931, allocations: 1.5 kB / 0.8343 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00027/0.4934, allocations: 57.62 kB / 0.8343 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003002/0.4937, allocations: 104.8 kB / 0.8344 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001317/0.495, allocations: 0.5357 MB / 0.8349 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0003075/0.4953, allocations: 258.4 kB / 0.8352 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.029e-05/0.4954, allocations: 14.11 kB / 0.8352 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002134/0.4956, allocations: 119.7 kB / 0.8353 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.4957, allocations: 98.41 kB / 0.8354 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.4957, allocations: 8.5 kB / 0.8354 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008656/0.4966, allocations: 475.9 kB / 0.8359 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 7.588e-05/0.4967, allocations: 39.42 kB / 0.8359 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.4968, allocations: 87.31 kB / 0.836 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0006667/0.4975, allocations: 415.2 kB / 0.8364 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.4975, allocations: 0 / 0.8364 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.113e-06/0.4975, allocations: 0 / 0.8364 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.4975, allocations: 4 kB / 0.8364 GB, free: 13.44 MB / 0.5919 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.0008311/0.4983, allocations: 0.5159 MB / 0.8369 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.4983, allocations: 8.406 kB / 0.8369 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.095e-05/0.4984, allocations: 8.469 kB / 0.8369 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.464e-05/0.4984, allocations: 54.25 kB / 0.837 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002095/0.5005, allocations: 189 kB / 0.8371 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003358/0.5008, allocations: 215.3 kB / 0.8373 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/0.5009, allocations: 11.36 kB / 0.8374 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.731e-05/0.5009, allocations: 18.53 kB / 0.8374 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006775/0.5016, allocations: 307.8 kB / 0.8377 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.5016, allocations: 6.406 kB / 0.8377 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.936e-05/0.5016, allocations: 10.31 kB / 0.8377 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.916e-05/0.5017, allocations: 5.734 kB / 0.8377 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007411/0.5024, allocations: 257.6 kB / 0.8379 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001697/0.5041, allocations: 1.395 MB / 0.8393 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006408/0.5047, allocations: 179 kB / 0.8395 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002203/0.505, allocations: 69.06 kB / 0.8395 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.505, allocations: 5.781 kB / 0.8395 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.505, allocations: 38.53 kB / 0.8396 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=18): time 1.724e-06/0.505, allocations: 4 kB / 0.8396 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18): time 0.000798/0.5058, allocations: 252.3 kB / 0.8398 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.5059, allocations: 51.41 kB / 0.8399 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.506, allocations: 159.7 kB / 0.84 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.421e-05/0.506, allocations: 33.17 kB / 0.8401 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.293e-05/0.5061, allocations: 133.7 kB / 0.8402 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.648e-05/0.5062, allocations: 61.61 kB / 0.8402 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.57e-05/0.5063, allocations: 53.47 kB / 0.8403 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.5064, allocations: 326.2 kB / 0.8406 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002184/0.5066, allocations: 65.73 kB / 0.8407 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002743/0.5069, allocations: 146.4 kB / 0.8408 GB, free: 10 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005027/0.5074, allocations: 220.4 kB / 0.841 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.5074, allocations: 0 / 0.841 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005976/0.508, allocations: 259 kB / 0.8413 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.508, allocations: 5.719 kB / 0.8413 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.508, allocations: 3.094 kB / 0.8413 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.5081, allocations: 2.031 kB / 0.8413 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003421/0.5084, allocations: 67.22 kB / 0.8413 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.5084, allocations: 3.781 kB / 0.8413 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002271/0.5086, allocations: 27.06 kB / 0.8414 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/0.5087, allocations: 13.56 kB / 0.8414 GB, free: 9.715 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.0001295/0.5088, allocations: 145 kB / 0.8415 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.715e-05/0.5088, allocations: 15.91 kB / 0.8415 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006353/0.5095, allocations: 223 kB / 0.8417 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.5095, allocations: 3.125 kB / 0.8417 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.5095, allocations: 0 / 0.8417 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.5095, allocations: 5.344 kB / 0.8418 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003022/0.5098, allocations: 247.6 kB / 0.842 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.5098, allocations: 3.938 kB / 0.842 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002933/0.5101, allocations: 47.58 kB / 0.842 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.5101, allocations: 1.531 kB / 0.842 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/0.5101, allocations: 8.953 kB / 0.842 GB, free: 9.223 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.5101, allocations: 0 / 0.842 GB, free: 9.223 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.5101, allocations: 1.219 kB / 0.8421 GB, free: 9.223 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005918/0.5107, allocations: 305.5 kB / 0.8423 GB, free: 9.027 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.5108, allocations: 106.3 kB / 0.8424 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.38e-05/0.5108, allocations: 4.969 kB / 0.8424 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002815/0.5111, allocations: 17.78 kB / 0.8425 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.579e-05/0.5112, allocations: 9.594 kB / 0.8425 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-05/0.5112, allocations: 12.42 kB / 0.8425 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 9.351e-05/0.5113, allocations: 115.5 kB / 0.8426 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.5113, allocations: 0 / 0.8426 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003662/0.5116, allocations: 64.73 kB / 0.8427 GB, free: 8.812 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.0009789/0.5126, allocations: 0.8695 MB / 0.8435 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005426/0.5132, allocations: 175.5 kB / 0.8437 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.5132, allocations: 1.125 kB / 0.8437 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002341/0.5134, allocations: 79.78 kB / 0.8438 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004694/0.5139, allocations: 54.8 kB / 0.8438 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003307/0.5172, allocations: 2.177 MB / 0.8459 GB, free: 6.336 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.5175, allocations: 0.7144 MB / 0.8466 GB, free: 5.641 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002678/0.5178, allocations: 55.08 kB / 0.8467 GB, free: 5.609 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.5179, allocations: 48.48 kB / 0.8467 GB, free: 5.582 MB / 0.5919 GB Notification: Performance of SimCode: time 4.4e-07/0.5179, allocations: 0 / 0.8467 GB, free: 5.582 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02412/0.542, allocations: 5.309 MB / 0.8519 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.119/8.661, allocations: 5.969 kB / 0.8519 GB, free: 4.906 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.43687030399451] Failed to read output from testmodel.py, exit status != 0: 8.790353269025218 8.815015622 8.313215869 Calling exit ...