Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties") translateModel(BuildSysPro.IBPSA.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006524/0.006524, allocations: 101.6 kB / 15.73 MB, free: 5.98 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.001413/0.001413, allocations: 190.5 kB / 16.67 MB, free: 5.918 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.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9795/0.9795, allocations: 143 MB / 433.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 64.14 kB / 0.5955 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4236/0.4248, allocations: 82.03 MB / 0.6756 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamProperties): time 0.1551/0.58, allocations: 136.1 MB / 0.8086 GB, free: 13.81 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02881/0.6089, allocations: 22.34 MB / 0.8304 GB, free: 7.395 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001945/0.6091, allocations: 4 kB / 0.8304 GB, free: 7.391 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003589/0.6095, allocations: 47.67 kB / 0.8305 GB, free: 7.344 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004561/0.61, allocations: 91.42 kB / 0.8306 GB, free: 7.254 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.02113/0.6312, allocations: 6.689 MB / 0.8371 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005165/0.6317, allocations: 247.9 kB / 0.8373 GB, free: 344 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 6.266e-05/0.6318, allocations: 13.55 kB / 0.8373 GB, free: 332 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004003/0.6322, allocations: 139.4 kB / 0.8375 GB, free: 192 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001936/0.6324, allocations: 91.61 kB / 0.8376 GB, free: 100 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.755e-05/0.6324, allocations: 12 kB / 0.8376 GB, free: 88 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02231/0.6547, allocations: 10.97 MB / 0.8483 GB, free: 5.105 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001608/0.6549, allocations: 39.89 kB / 0.8483 GB, free: 5.066 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001789/0.6551, allocations: 79.66 kB / 0.8484 GB, free: 4.988 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.02137/0.6765, allocations: 6.156 MB / 0.8544 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.6766, allocations: 0 / 0.8544 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of FrontEnd: time 4.398e-06/0.6766, allocations: 0 / 0.8544 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.338e-05/0.6766, allocations: 3.938 kB / 0.8544 GB, free: 14.82 MB / 0.6856 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.004189/0.6808, allocations: 1.193 MB / 0.8556 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.6808, allocations: 15.95 kB / 0.8556 GB, free: 13.56 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00136/0.6822, allocations: 80.67 kB / 0.8557 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003911/0.6826, allocations: 236 kB / 0.8559 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.6827, allocations: 12.12 kB / 0.8559 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.013e-05/0.6827, allocations: 16 kB / 0.8559 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/0.6839, allocations: 453.1 kB / 0.8564 GB, free: 12.72 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.6839, allocations: 4 kB / 0.8564 GB, free: 12.72 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.655e-05/0.6839, allocations: 4 kB / 0.8564 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.6839, allocations: 4 kB / 0.8564 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001216/0.6852, allocations: 0.5937 MB / 0.857 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/0.6863, allocations: 0.8899 MB / 0.8578 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007983/0.6871, allocations: 250.3 kB / 0.8581 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.6872, allocations: 72.83 kB / 0.8581 GB, free: 10.81 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4534/1.141, allocations: 35.42 MB / 0.8927 GB, free: 166.6 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/1.141, allocations: 37 kB / 0.8928 GB, free: 166.6 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=25): time 2.565e-06/1.141, allocations: 0 / 0.8928 GB, free: 166.6 MB / 0.6856 GB Notification: Performance of matching and sorting (n=25): time 0.001929/1.143, allocations: 418 kB / 0.8932 GB, free: 166.3 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.918e-05/1.143, allocations: 54.12 kB / 0.8932 GB, free: 166.3 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/1.143, allocations: 145 kB / 0.8933 GB, free: 166.2 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.463e-05/1.143, allocations: 35.02 kB / 0.8934 GB, free: 166.1 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 5.804e-05/1.143, allocations: 110.6 kB / 0.8935 GB, free: 166 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 6.906e-05/1.143, allocations: 90.89 kB / 0.8936 GB, free: 166 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/1.143, allocations: 80.5 kB / 0.8936 GB, free: 165.9 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 6.298e-05/1.143, allocations: 322.4 kB / 0.894 GB, free: 165.6 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/1.143, allocations: 79.17 kB / 0.894 GB, free: 165.5 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002305/1.144, allocations: 129.4 kB / 0.8942 GB, free: 165.4 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004354/1.144, allocations: 224.9 kB / 0.8944 GB, free: 165.3 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/1.144, allocations: 0 / 0.8944 GB, free: 165.3 MB / 0.6856 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007132/1.145, allocations: 301.8 kB / 0.8947 GB, free: 165.2 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/1.145, allocations: 5.688 kB / 0.8947 GB, free: 165.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/1.145, allocations: 2.344 kB / 0.8947 GB, free: 165.2 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/1.145, allocations: 3.188 kB / 0.8947 GB, free: 165.2 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000291/1.145, allocations: 79.81 kB / 0.8947 GB, free: 165.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/1.145, allocations: 5.812 kB / 0.8947 GB, free: 165.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/1.145, allocations: 26.98 kB / 0.8948 GB, free: 165.1 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.35e-05/1.145, allocations: 20.55 kB / 0.8948 GB, free: 165.1 MB / 0.6856 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 0.0001097/1.146, allocations: 133.1 kB / 0.8949 GB, free: 165 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001779/1.146, allocations: 16.75 kB / 0.8949 GB, free: 165 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001949/1.148, allocations: 2.339 MB / 0.8972 GB, free: 163.7 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/1.148, allocations: 11.73 kB / 0.8972 GB, free: 163.6 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/1.148, allocations: 7 kB / 0.8972 GB, free: 163.6 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/1.148, allocations: 3.984 kB / 0.8972 GB, free: 163.6 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002438/1.15, allocations: 3.423 MB / 0.9006 GB, free: 161.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/1.15, allocations: 4 kB / 0.9006 GB, free: 161.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002459/1.15, allocations: 58.05 kB / 0.9006 GB, free: 161.4 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/1.15, allocations: 6.625 kB / 0.9006 GB, free: 161.4 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.283e-05/1.15, allocations: 11.95 kB / 0.9007 GB, free: 161.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/1.15, allocations: 3.969 kB / 0.9007 GB, free: 161.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/1.15, allocations: 0 / 0.9007 GB, free: 161.4 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006516/1.151, allocations: 0.5397 MB / 0.9012 GB, free: 161.1 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/1.151, allocations: 147.6 kB / 0.9013 GB, free: 160.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.088e-05/1.151, allocations: 7.938 kB / 0.9013 GB, free: 160.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/1.152, allocations: 15.95 kB / 0.9014 GB, free: 160.9 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.368e-05/1.152, allocations: 23.53 kB / 0.9014 GB, free: 160.9 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-05/1.152, allocations: 15.73 kB / 0.9014 GB, free: 160.9 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 5.048e-05/1.152, allocations: 105 kB / 0.9015 GB, free: 160.8 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8.71e-07/1.152, allocations: 0 / 0.9015 GB, free: 160.8 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.004443/1.156, allocations: 1.626 MB / 0.9031 GB, free: 160.3 MB / 0.6856 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.008995/1.165, allocations: 1.889 MB / 0.9049 GB, free: 158.6 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0007263/1.166, allocations: 332.7 kB / 0.9052 GB, free: 158.3 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/1.166, allocations: 0 / 0.9052 GB, free: 158.3 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.000285/1.166, allocations: 237.2 kB / 0.9055 GB, free: 158.1 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005663/1.167, allocations: 62.12 kB / 0.9055 GB, free: 158 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009761/1.168, allocations: 0.6407 MB / 0.9062 GB, free: 157.3 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000163/1.168, allocations: 0.7661 MB / 0.9069 GB, free: 156.5 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0004181/1.168, allocations: 413.6 kB / 0.9073 GB, free: 156.1 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/1.168, allocations: 47.41 kB / 0.9073 GB, free: 156.1 MB / 0.6856 GB Notification: Performance of SimCode: time 3.81e-07/1.168, allocations: 0 / 0.9073 GB, free: 156.1 MB / 0.6856 GB Notification: Performance of Templates: time 0.05791/1.226, allocations: 57.16 MB / 0.9632 GB, free: 98.93 MB / 0.6856 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.pipe 2>&1)