Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.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.001329/0.001329, allocations: 118.2 kB / 17.17 MB, free: 6 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.001362/0.001362, allocations: 211.3 kB / 20.13 MB, free: 3.055 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.407/1.407, 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.00239/0.00239, allocations: 281.9 kB / 309.8 MB, free: 3.48 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.033/1.033, allocations: 180.6 MB / 0.5338 GB, free: 12.38 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.WaterProperties_pT,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_WaterProperties_pT",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.003093/0.003093, allocations: 111.8 kB / 0.7347 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5039/0.5069, allocations: 95.33 MB / 0.8278 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.016/0.5229, allocations: 13.16 MB / 0.8407 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003169/0.5261, allocations: 2.665 MB / 0.8433 GB, free: 8.074 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.01e-05/0.5262, allocations: 4.875 kB / 0.8433 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000281/0.5265, allocations: 48.16 kB / 0.8433 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002942/0.5268, allocations: 101.8 kB / 0.8434 GB, free: 7.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001317/0.5281, allocations: 0.525 MB / 0.8439 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0003182/0.5284, allocations: 228.3 kB / 0.8442 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.721e-05/0.5285, allocations: 12.25 kB / 0.8442 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009124/0.5376, allocations: 3.594 MB / 0.8477 GB, free: 6.152 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002109/0.5378, allocations: 103 kB / 0.8478 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.701e-05/0.5378, allocations: 8.094 kB / 0.8478 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00318/0.541, allocations: 1.101 MB / 0.8489 GB, free: 5.711 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 7.967e-05/0.5411, allocations: 38.34 kB / 0.8489 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.5412, allocations: 78.69 kB / 0.849 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0008771/0.5421, allocations: 379.6 kB / 0.8493 GB, free: 5.523 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.5421, allocations: 5.219 kB / 0.8493 GB, free: 5.52 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.372e-06/0.5421, allocations: 0 / 0.8493 GB, free: 5.52 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.5421, allocations: 0 / 0.8493 GB, free: 5.52 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.0008426/0.5429, allocations: 0.5124 MB / 0.8498 GB, free: 5.062 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.543, allocations: 10.7 kB / 0.8498 GB, free: 5.062 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.851e-05/0.543, allocations: 3.859 kB / 0.8498 GB, free: 5.062 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.428e-05/0.543, allocations: 48.98 kB / 0.8499 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001636/0.5432, allocations: 22.94 kB / 0.8499 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003076/0.5435, allocations: 224 kB / 0.8501 GB, free: 4.781 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.5435, allocations: 19.8 kB / 0.8502 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/0.5436, allocations: 21.69 kB / 0.8502 GB, free: 4.758 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004014/0.544, allocations: 238.7 kB / 0.8504 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.544, allocations: 0 / 0.8504 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.575e-05/0.544, allocations: 15.44 kB / 0.8504 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.459e-05/0.544, allocations: 5.797 kB / 0.8504 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005648/0.5446, allocations: 429 kB / 0.8508 GB, free: 4.539 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001256/0.5458, allocations: 0.9634 MB / 0.8518 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002988/0.5461, allocations: 157.7 kB / 0.8519 GB, free: 3.629 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.5462, allocations: 56.19 kB / 0.852 GB, free: 3.605 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001618/0.5479, allocations: 1.835 MB / 0.8538 GB, free: 1.562 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.5479, allocations: 34.58 kB / 0.8538 GB, free: 1.523 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.383e-06/0.5479, allocations: 7.938 kB / 0.8538 GB, free: 1.516 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0003698/0.5483, allocations: 146.2 kB / 0.8539 GB, free: 1.445 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.5483, allocations: 53.5 kB / 0.854 GB, free: 1.383 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.5485, allocations: 168.1 kB / 0.8542 GB, free: 1.258 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.159e-05/0.5485, allocations: 27.92 kB / 0.8542 GB, free: 1.227 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.928e-05/0.5486, allocations: 146.2 kB / 0.8543 GB, free: 1.094 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.791e-05/0.5486, allocations: 59.94 kB / 0.8544 GB, free: 1.047 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.5488, allocations: 56.25 kB / 0.8544 GB, free: 1.008 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.5489, allocations: 327.2 kB / 0.8547 GB, free: 0.6875 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.038e-05/0.549, allocations: 35.09 kB / 0.8548 GB, free: 0.6797 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/0.5491, allocations: 147.2 kB / 0.8549 GB, free: 0.5312 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000248/0.5494, allocations: 192.8 kB / 0.8551 GB, free: 364 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.5494, allocations: 1.281 kB / 0.8551 GB, free: 364 kB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003357/0.5497, allocations: 212.9 kB / 0.8553 GB, free: 264 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.5497, allocations: 7.109 kB / 0.8553 GB, free: 264 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.5497, allocations: 7.938 kB / 0.8553 GB, free: 260 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.5498, allocations: 9.625 kB / 0.8553 GB, free: 256 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.5499, allocations: 50.27 kB / 0.8554 GB, free: 252 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.5499, allocations: 7.047 kB / 0.8554 GB, free: 252 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.55, allocations: 33.2 kB / 0.8554 GB, free: 228 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.5501, allocations: 15.34 kB / 0.8554 GB, free: 224 kB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001102/0.5502, allocations: 126.5 kB / 0.8556 GB, free: 96 kB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.561e-05/0.5502, allocations: 17.45 kB / 0.8556 GB, free: 88 kB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000348/0.5506, allocations: 171.8 kB / 0.8557 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/0.5506, allocations: 3.797 kB / 0.8557 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.5506, allocations: 0 / 0.8557 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.5506, allocations: 1.125 kB / 0.8557 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002664/0.5509, allocations: 215.8 kB / 0.8559 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.5509, allocations: 1.688 kB / 0.8559 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.178e-05/0.551, allocations: 26.06 kB / 0.856 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.551, allocations: 0 / 0.856 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.551, allocations: 7.188 kB / 0.856 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.551, allocations: 5.906 kB / 0.856 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.551, allocations: 0 / 0.856 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002756/0.5513, allocations: 222.5 kB / 0.8562 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.5514, allocations: 116.2 kB / 0.8563 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.549e-05/0.5514, allocations: 5.734 kB / 0.8563 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.5516, allocations: 14.69 kB / 0.8563 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.344e-05/0.5516, allocations: 8.828 kB / 0.8563 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.61e-05/0.5516, allocations: 13.8 kB / 0.8563 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001227/0.5518, allocations: 118.1 kB / 0.8565 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.5518, allocations: 5.219 kB / 0.8565 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004219/0.5522, allocations: 79.92 kB / 0.8565 GB, free: 15.37 MB / 0.6075 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0008081/0.553, allocations: 0.8472 MB / 0.8574 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002364/0.5532, allocations: 116.8 kB / 0.8575 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.5532, allocations: 4 kB / 0.8575 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.908e-05/0.5533, allocations: 44.53 kB / 0.8575 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000428/0.5537, allocations: 46.64 kB / 0.8576 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002359/0.5561, allocations: 2.04 MB / 0.8596 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.5564, allocations: 0.7228 MB / 0.8603 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001615/0.5566, allocations: 46.84 kB / 0.8603 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.097e-05/0.5567, allocations: 52.88 kB / 0.8604 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of SimCode: time 3.81e-07/0.5567, allocations: 0 / 0.8604 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02303/0.5797, allocations: 5.632 MB / 0.8659 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.008/8.588, allocations: 5.938 kB / 0.8659 GB, free: 9.383 MB / 0.6075 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.3799457239802] Failed to read output from testmodel.py, exit status != 0: 8.715766744047869 8.734719925 8.1890051 Calling exit ...