Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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: translateModel(BuildingSystems.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamProperties") translateModel(BuildingSystems.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 105.7 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 185.5 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002164/0.002164, allocations: 289.1 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9215/0.9215, allocations: 169.2 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001855, allocations: 96.22 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4072/0.409, allocations: 86.98 MB / 0.7671 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.1361/0.5452, allocations: 136.1 MB / 0.9 GB, free: 11.23 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02728/0.5725, allocations: 22.34 MB / 0.9218 GB, free: 4.812 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001619/0.5727, allocations: 4 kB / 0.9218 GB, free: 4.809 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0003047/0.573, allocations: 47.67 kB / 0.9219 GB, free: 4.762 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0003569/0.5734, allocations: 87.36 kB / 0.9219 GB, free: 4.676 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.01736/0.5908, allocations: 6.681 MB / 0.9285 GB, free: 14.01 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0004012/0.5912, allocations: 255.9 kB / 0.9287 GB, free: 13.76 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 4.678e-05/0.5913, allocations: 9.562 kB / 0.9287 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003338/0.5916, allocations: 143.4 kB / 0.9289 GB, free: 13.61 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001732/0.5918, allocations: 87.67 kB / 0.9289 GB, free: 13.53 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 2.799e-05/0.5918, allocations: 8 kB / 0.929 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02064/0.6125, allocations: 10.96 MB / 0.9397 GB, free: 2.547 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.6126, allocations: 39.89 kB / 0.9397 GB, free: 2.508 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001614/0.6128, allocations: 79.66 kB / 0.9398 GB, free: 2.43 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01331/0.6261, allocations: 6.156 MB / 0.9458 GB, free: 12.26 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.6262, allocations: 4 kB / 0.9458 GB, free: 12.26 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6262, allocations: 0 / 0.9458 GB, free: 12.26 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.877e-06/0.6262, allocations: 0 / 0.9458 GB, free: 12.26 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.003144/0.6293, allocations: 1.189 MB / 0.9469 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.6294, allocations: 8.031 kB / 0.947 GB, free: 11.01 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001125/0.6305, allocations: 88.66 kB / 0.947 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003188/0.6308, allocations: 232 kB / 0.9473 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.6309, allocations: 20.12 kB / 0.9473 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/0.6309, allocations: 20 kB / 0.9473 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.632, allocations: 453.6 kB / 0.9477 GB, free: 10.16 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.632, allocations: 0 / 0.9477 GB, free: 10.16 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.695e-05/0.6321, allocations: 12 kB / 0.9477 GB, free: 10.15 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.6321, allocations: 4 kB / 0.9477 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/0.6333, allocations: 0.5931 MB / 0.9483 GB, free: 9.551 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.6343, allocations: 0.8783 MB / 0.9492 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007931/0.6351, allocations: 254.3 kB / 0.9494 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.6353, allocations: 72.83 kB / 0.9495 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4204/1.056, allocations: 35.42 MB / 0.9841 GB, free: 165.2 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/1.056, allocations: 38.12 kB / 0.9841 GB, free: 165.2 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=25): time 2.285e-06/1.056, allocations: 0 / 0.9841 GB, free: 165.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=25): time 0.00155/1.057, allocations: 425.9 kB / 0.9845 GB, free: 164.8 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.496e-05/1.057, allocations: 55.41 kB / 0.9846 GB, free: 164.7 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.395e-05/1.057, allocations: 147.7 kB / 0.9847 GB, free: 164.6 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.713e-05/1.057, allocations: 29.7 kB / 0.9847 GB, free: 164.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.543e-05/1.057, allocations: 110.4 kB / 0.9848 GB, free: 164.4 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.63e-05/1.058, allocations: 90.98 kB / 0.9849 GB, free: 164.4 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.529e-05/1.058, allocations: 73.67 kB / 0.985 GB, free: 164.3 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.404e-05/1.058, allocations: 322.8 kB / 0.9853 GB, free: 164 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/1.058, allocations: 87.78 kB / 0.9854 GB, free: 163.9 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001755/1.058, allocations: 129.6 kB / 0.9855 GB, free: 163.7 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003489/1.058, allocations: 220 kB / 0.9857 GB, free: 163.5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.058, allocations: 0 / 0.9857 GB, free: 163.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005885/1.059, allocations: 301.2 kB / 0.986 GB, free: 163.2 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/1.059, allocations: 4 kB / 0.986 GB, free: 163.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/1.059, allocations: 0 / 0.986 GB, free: 163.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/1.059, allocations: 4 kB / 0.986 GB, free: 163.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002597/1.059, allocations: 79.88 kB / 0.9861 GB, free: 163.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/1.059, allocations: 7.938 kB / 0.9861 GB, free: 163.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/1.059, allocations: 23.94 kB / 0.9861 GB, free: 163.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.641e-05/1.06, allocations: 31.97 kB / 0.9862 GB, free: 163.1 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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): 30 * 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 9.127e-05/1.06, allocations: 121.1 kB / 0.9863 GB, free: 162.9 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001608/1.06, allocations: 19.81 kB / 0.9863 GB, free: 162.9 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001608/1.061, allocations: 2.342 MB / 0.9886 GB, free: 160.6 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/1.061, allocations: 11.98 kB / 0.9886 GB, free: 160.6 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/1.061, allocations: 3.938 kB / 0.9886 GB, free: 160.6 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/1.061, allocations: 0 / 0.9886 GB, free: 160.6 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00216/1.064, allocations: 3.431 MB / 0.992 GB, free: 157 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/1.064, allocations: 0 / 0.992 GB, free: 157 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002239/1.064, allocations: 55.94 kB / 0.992 GB, free: 157 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/1.064, allocations: 3.938 kB / 0.992 GB, free: 157 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/1.064, allocations: 8 kB / 0.992 GB, free: 157 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/1.064, allocations: 3.938 kB / 0.992 GB, free: 156.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/1.064, allocations: 4 kB / 0.992 GB, free: 156.9 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005669/1.064, allocations: 0.5427 MB / 0.9926 GB, free: 156.4 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.275e-05/1.065, allocations: 144.4 kB / 0.9927 GB, free: 156.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.132e-05/1.065, allocations: 8.922 kB / 0.9927 GB, free: 156.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/1.065, allocations: 8 kB / 0.9927 GB, free: 156.2 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.086e-05/1.065, allocations: 19.97 kB / 0.9927 GB, free: 156.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.347e-05/1.065, allocations: 16 kB / 0.9927 GB, free: 156.2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.859e-05/1.065, allocations: 110.4 kB / 0.9928 GB, free: 156.1 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/1.065, allocations: 0 / 0.9928 GB, free: 156.1 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003357/1.068, allocations: 1.62 MB / 0.9944 GB, free: 154.6 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.005911/1.074, allocations: 1.891 MB / 0.9963 GB, free: 152.9 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005321/1.075, allocations: 328.3 kB / 0.9966 GB, free: 152.6 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/1.075, allocations: 2.656 kB / 0.9966 GB, free: 152.6 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002275/1.075, allocations: 244.3 kB / 0.9968 GB, free: 152.4 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005076/1.075, allocations: 68.83 kB / 0.9969 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008023/1.076, allocations: 0.6582 MB / 0.9975 GB, free: 151.6 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001388/1.076, allocations: 0.7661 MB / 0.9983 GB, free: 150.8 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/1.077, allocations: 55.34 kB / 0.9983 GB, free: 150.8 MB / 0.7169 GB Notification: Performance of SimCode: time 6.52e-07/1.077, allocations: 0 / 0.9983 GB, free: 150.8 MB / 0.7169 GB Notification: Performance of Templates: time 0.03612/1.113, allocations: 31.41 MB / 1.029 GB, free: 119.4 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.sim & ./BuildingSystems_BuildingSystems.Media.Examples.SteamProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe 2>&1)