Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001323/0.001323, allocations: 119.9 kB / 17.13 MB, free: 5.918 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.00135/0.00135, allocations: 191.7 kB / 20.08 MB, free: 2.988 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.488/1.488, allocations: 225.6 MB / 248.5 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8996/0.8996, allocations: 129.2 MB / 432.5 MB, free: 13.23 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 63.91 kB / 0.5987 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4635/0.4654, allocations: 83.44 MB / 0.6802 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.00548/0.4709, allocations: 4.079 MB / 0.6842 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002537/0.4735, allocations: 2.433 MB / 0.6866 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001883/0.4736, allocations: 2.156 kB / 0.6866 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000357/0.474, allocations: 51.05 kB / 0.6866 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000362/0.4744, allocations: 99.81 kB / 0.6867 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002014/0.4764, allocations: 0.5283 MB / 0.6872 GB, free: 252 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005204/0.4769, allocations: 270.6 kB / 0.6875 GB, free: 100 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.155e-05/0.477, allocations: 7.812 kB / 0.6875 GB, free: 100 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000309/0.4773, allocations: 114.6 kB / 0.6876 GB, free: 40 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000249/0.4775, allocations: 100.8 kB / 0.6877 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.957e-05/0.4776, allocations: 8.625 kB / 0.6877 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001409/0.479, allocations: 464.9 kB / 0.6882 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.4791, allocations: 39.14 kB / 0.6882 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.4792, allocations: 92.98 kB / 0.6883 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0009463/0.4801, allocations: 401.3 kB / 0.6887 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.4802, allocations: 0 / 0.6887 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.472e-06/0.4802, allocations: 0 / 0.6887 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.4802, allocations: 1.906 kB / 0.6887 GB, free: 15.43 MB / 0.5137 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.0009589/0.4811, allocations: 0.5056 MB / 0.6892 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/0.4812, allocations: 9.344 kB / 0.6892 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.92e-05/0.4812, allocations: 53.52 kB / 0.6892 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002113/0.4834, allocations: 173.6 kB / 0.6894 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005135/0.4839, allocations: 222.3 kB / 0.6896 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.35e-05/0.4839, allocations: 14.48 kB / 0.6896 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.843e-05/0.484, allocations: 22.97 kB / 0.6896 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007322/0.4847, allocations: 303.6 kB / 0.6899 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.4847, allocations: 1.156 kB / 0.6899 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.795e-05/0.4847, allocations: 6.406 kB / 0.6899 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.338e-05/0.4848, allocations: 5.875 kB / 0.6899 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007521/0.4855, allocations: 262.5 kB / 0.6902 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00195/0.4875, allocations: 1.39 MB / 0.6916 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006521/0.4881, allocations: 176.6 kB / 0.6917 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002285/0.4883, allocations: 80.62 kB / 0.6918 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.649e-05/0.4884, allocations: 10.2 kB / 0.6918 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.4884, allocations: 32.12 kB / 0.6918 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 1.643e-06/0.4884, allocations: 1.312 kB / 0.6918 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.000826/0.4892, allocations: 249.2 kB / 0.6921 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.4893, allocations: 53.59 kB / 0.6921 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.4895, allocations: 163.4 kB / 0.6923 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.997e-05/0.4895, allocations: 31.89 kB / 0.6923 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.219e-05/0.4896, allocations: 125.7 kB / 0.6924 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.135e-05/0.4897, allocations: 71.75 kB / 0.6925 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.4898, allocations: 47.25 kB / 0.6926 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.4899, allocations: 326.5 kB / 0.6929 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002209/0.4901, allocations: 75.53 kB / 0.6929 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003003/0.4904, allocations: 143.2 kB / 0.6931 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004975/0.4909, allocations: 217.4 kB / 0.6933 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.4909, allocations: 1.125 kB / 0.6933 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005949/0.4915, allocations: 254.6 kB / 0.6935 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.4916, allocations: 5.5 kB / 0.6935 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.4916, allocations: 3.125 kB / 0.6935 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.4916, allocations: 3.5 kB / 0.6935 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003855/0.492, allocations: 66.73 kB / 0.6936 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.492, allocations: 3.406 kB / 0.6936 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002671/0.4923, allocations: 36.02 kB / 0.6936 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.213e-05/0.4923, allocations: 8 kB / 0.6936 GB, free: 11.18 MB / 0.5137 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.0001551/0.4924, allocations: 142 kB / 0.6938 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.187e-05/0.4925, allocations: 15.81 kB / 0.6938 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006513/0.4931, allocations: 230.7 kB / 0.694 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.4931, allocations: 2.375 kB / 0.694 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.4932, allocations: 0 / 0.694 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.4932, allocations: 9.672 kB / 0.694 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003465/0.4935, allocations: 244.2 kB / 0.6943 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4935, allocations: 0 / 0.6943 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003154/0.4938, allocations: 45.45 kB / 0.6943 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.4938, allocations: 1.406 kB / 0.6943 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/0.4938, allocations: 5.344 kB / 0.6943 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.4939, allocations: 5.031 kB / 0.6943 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4939, allocations: 1.25 kB / 0.6943 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006293/0.4945, allocations: 304.8 kB / 0.6946 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001403/0.4946, allocations: 101.3 kB / 0.6947 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.113e-05/0.4947, allocations: 9.469 kB / 0.6947 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002893/0.495, allocations: 16.67 kB / 0.6947 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.19e-05/0.495, allocations: 8.797 kB / 0.6947 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.829e-05/0.495, allocations: 18.33 kB / 0.6948 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001018/0.4951, allocations: 112.2 kB / 0.6949 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.4951, allocations: 0 / 0.6949 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004319/0.4955, allocations: 70.34 kB / 0.6949 GB, free: 10.14 MB / 0.5137 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.0011/0.4966, allocations: 0.8675 MB / 0.6958 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006006/0.4972, allocations: 172 kB / 0.6959 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.4973, allocations: 0 / 0.6959 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002375/0.4975, allocations: 82.22 kB / 0.696 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005617/0.498, allocations: 63.72 kB / 0.6961 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003611/0.5017, allocations: 2.164 MB / 0.6982 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004779/0.5021, allocations: 0.7191 MB / 0.6989 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003288/0.5025, allocations: 55.61 kB / 0.6989 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/0.5026, allocations: 45.77 kB / 0.699 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of SimCode: time 1.272e-06/0.5026, allocations: 0 / 0.699 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03983/0.5424, allocations: 5.227 MB / 0.7041 GB, free: 4.031 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.595/9.138, allocations: 6.109 kB / 0.7041 GB, free: 4.027 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.619565032888204] Failed to read output from testmodel.py, exit status != 0: 9.210175526794046 9.238076187 8.752829982 Calling exit ...