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.001247/0.001247, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001351/0.001351, allocations: 218.4 kB / 23.04 MB, free: 5.074 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.413/1.413, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.002486/0.002486, allocations: 282.5 kB / 313.5 MB, free: 2.898 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.252/1.252, allocations: 180.6 MB / 0.5377 GB, free: 12.94 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 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.00273/0.00273, allocations: 101.7 kB / 0.7404 GB, free: 28.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1721, allocations: 95.37 MB / 0.8336 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01724/0.1893, allocations: 13.2 MB / 0.8464 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003125/0.1925, allocations: 2.691 MB / 0.8491 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.674e-05/0.1926, allocations: 4 kB / 0.8491 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0002588/0.1928, allocations: 47.67 kB / 0.8491 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002643/0.1931, allocations: 103.3 kB / 0.8492 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001178/0.1943, allocations: 0.5213 MB / 0.8497 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0002672/0.1945, allocations: 235.9 kB / 0.8499 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.355e-05/0.1946, allocations: 13.72 kB / 0.85 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007902/0.2025, allocations: 3.601 MB / 0.8535 GB, free: 4.117 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001966/0.2027, allocations: 91.59 kB / 0.8536 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.507e-05/0.2027, allocations: 8 kB / 0.8536 GB, free: 4.02 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00268/0.2054, allocations: 1.124 MB / 0.8547 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 7.223e-05/0.2054, allocations: 31.89 kB / 0.8547 GB, free: 2.871 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.2056, allocations: 87.59 kB / 0.8548 GB, free: 2.785 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0007407/0.2063, allocations: 374.8 kB / 0.8551 GB, free: 2.418 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2063, allocations: 3.938 kB / 0.8551 GB, free: 2.414 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2063, allocations: 0 / 0.8551 GB, free: 2.414 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.2063, allocations: 0 / 0.8551 GB, free: 2.414 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.0008053/0.2071, allocations: 441.4 kB / 0.8556 GB, free: 1.953 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.2072, allocations: 13.34 kB / 0.8556 GB, free: 1.941 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.818e-05/0.2072, allocations: 12.52 kB / 0.8556 GB, free: 1.93 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.982e-05/0.2072, allocations: 46.73 kB / 0.8556 GB, free: 1.875 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001625/0.2074, allocations: 28.83 kB / 0.8557 GB, free: 1.848 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002683/0.2077, allocations: 154.3 kB / 0.8558 GB, free: 1.672 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.2077, allocations: 16.64 kB / 0.8558 GB, free: 1.656 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.2077, allocations: 20.12 kB / 0.8558 GB, free: 1.637 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004129/0.2081, allocations: 260.7 kB / 0.8561 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.2081, allocations: 0 / 0.8561 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.636e-05/0.2082, allocations: 12 kB / 0.8561 GB, free: 1.352 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.227e-05/0.2082, allocations: 4 kB / 0.8561 GB, free: 1.348 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005777/0.2088, allocations: 443.3 kB / 0.8565 GB, free: 0.9141 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001211/0.21, allocations: 0.9324 MB / 0.8574 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002777/0.2102, allocations: 150.9 kB / 0.8576 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.2103, allocations: 60.81 kB / 0.8576 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007599/0.2111, allocations: 479.8 kB / 0.8581 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.2111, allocations: 34.56 kB / 0.8581 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.292e-06/0.2111, allocations: 0 / 0.8581 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0003243/0.2115, allocations: 141.5 kB / 0.8583 GB, free: 15 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.2115, allocations: 63.34 kB / 0.8583 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.2117, allocations: 171.9 kB / 0.8585 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.214e-05/0.2117, allocations: 33.7 kB / 0.8585 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.1e-05/0.2118, allocations: 148 kB / 0.8587 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.881e-05/0.2118, allocations: 43.59 kB / 0.8587 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.753e-05/0.2119, allocations: 61.64 kB / 0.8588 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.212, allocations: 322.8 kB / 0.8591 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.841e-05/0.2121, allocations: 35.97 kB / 0.8591 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.2123, allocations: 139 kB / 0.8592 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002579/0.2125, allocations: 208.4 kB / 0.8594 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2125, allocations: 0 / 0.8594 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003337/0.2129, allocations: 217.2 kB / 0.8596 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.2129, allocations: 4 kB / 0.8597 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.2129, allocations: 8 kB / 0.8597 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.2129, allocations: 11.94 kB / 0.8597 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.2131, allocations: 51.91 kB / 0.8597 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.2131, allocations: 7.938 kB / 0.8597 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.2132, allocations: 32.2 kB / 0.8598 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.263e-05/0.2132, allocations: 20 kB / 0.8598 GB, free: 13.3 MB / 0.6075 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.0001115/0.2133, allocations: 129.7 kB / 0.8599 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.363e-05/0.2134, allocations: 15.91 kB / 0.8599 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003187/0.2137, allocations: 161.7 kB / 0.8601 GB, free: 13 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.2137, allocations: 0 / 0.8601 GB, free: 13 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.2137, allocations: 0 / 0.8601 GB, free: 13 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.2137, allocations: 4 kB / 0.8601 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002438/0.214, allocations: 188.6 kB / 0.8603 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.214, allocations: 4 kB / 0.8603 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.813e-05/0.2141, allocations: 27.94 kB / 0.8603 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.2141, allocations: 7.922 kB / 0.8603 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.2141, allocations: 3.938 kB / 0.8603 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.2141, allocations: 4 kB / 0.8603 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2141, allocations: 0 / 0.8603 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002603/0.2143, allocations: 215.4 kB / 0.8605 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.085e-05/0.2144, allocations: 35.8 kB / 0.8605 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.088e-05/0.2144, allocations: 15.94 kB / 0.8606 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002023/0.2146, allocations: 15.98 kB / 0.8606 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.271e-05/0.2147, allocations: 7.984 kB / 0.8606 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.997e-05/0.2147, allocations: 11.98 kB / 0.8606 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.206e-05/0.2148, allocations: 116 kB / 0.8607 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.2148, allocations: 0 / 0.8607 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003988/0.2152, allocations: 79.88 kB / 0.8608 GB, free: 12.21 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.0008004/0.216, allocations: 0.8448 MB / 0.8616 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002366/0.2162, allocations: 110.4 kB / 0.8617 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2162, allocations: 3.938 kB / 0.8617 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.413e-05/0.2163, allocations: 39.98 kB / 0.8617 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004332/0.2167, allocations: 60.83 kB / 0.8618 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002337/0.2191, allocations: 2.043 MB / 0.8638 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.2194, allocations: 0.7167 MB / 0.8645 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001691/0.2196, allocations: 53.36 kB / 0.8646 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.014e-05/0.2196, allocations: 51.42 kB / 0.8646 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of SimCode: time 2.91e-07/0.2196, allocations: 0 / 0.8646 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02891/0.2486, allocations: 5.834 MB / 0.8703 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/10.84, allocations: 7.25 kB / 0.8703 GB, free: 2.441 MB / 0.6075 GB " [Timeout remaining time 649] (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: 14.981240661989432] Failed to read output from testmodel.py, exit status != 0: 11.000471532985102 11.015287023 10.806054715 Calling exit ...