Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.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/IBPSA 4.0.0-master/package.mo", uses=false) 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: translateModel(IBPSA.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck") translateModel(IBPSA.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 120 kB / 17.09 MB, free: 5.961 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.001129/0.001129, allocations: 196.7 kB / 18.02 MB, free: 5.039 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.281/1.281, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7027/0.7027, allocations: 115.3 MB / 407.2 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 72.39 kB / 0.5583 GB, free: 32.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1455, allocations: 76.17 MB / 0.6327 GB, free: 4.441 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamDerivativeCheck): time 0.002096/0.1477, allocations: 1.265 MB / 0.6339 GB, free: 3.168 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.504/0.6517, allocations: 137.7 MB / 0.7684 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.803e-05/0.6517, allocations: 0 / 0.7684 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.153e-05/0.6518, allocations: 3.938 kB / 0.7684 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.466e-05/0.6519, allocations: 2.938 kB / 0.7684 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001155/0.653, allocations: 460.6 kB / 0.7688 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.031e-05/0.6531, allocations: 40.05 kB / 0.7689 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.753e-05/0.6532, allocations: 2.406 kB / 0.7689 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.394e-05/0.6532, allocations: 25.86 kB / 0.7689 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7.509e-05/0.6533, allocations: 18.67 kB / 0.7689 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.6533, allocations: 2.781 kB / 0.7689 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001367/0.6547, allocations: 0.8275 MB / 0.7697 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.566e-05/0.6547, allocations: 11.62 kB / 0.7697 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.324e-05/0.6547, allocations: 15.34 kB / 0.7697 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0006092/0.6554, allocations: 451.8 kB / 0.7702 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.6554, allocations: 0.5 kB / 0.7702 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.983e-06/0.6554, allocations: 0.5 kB / 0.7702 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.483e-06/0.6554, allocations: 0 / 0.7702 GB, free: 15.13 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005388/0.6559, allocations: 378.3 kB / 0.7705 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.656, allocations: 9.375 kB / 0.7705 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001824/0.6562, allocations: 14.98 kB / 0.7706 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.575e-05/0.6563, allocations: 161.7 kB / 0.7707 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.6563, allocations: 2 kB / 0.7707 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.852e-05/0.6563, allocations: 9.438 kB / 0.7707 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.6565, allocations: 58.11 kB / 0.7708 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.6565, allocations: 3.938 kB / 0.7708 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.6565, allocations: 1.094 kB / 0.7708 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.6565, allocations: 5.062 kB / 0.7708 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.611e-05/0.6566, allocations: 17.53 kB / 0.7708 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001602/0.6568, allocations: 163.3 kB / 0.771 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.6569, allocations: 49.84 kB / 0.771 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.522e-05/0.6569, allocations: 15.39 kB / 0.771 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01118/0.6681, allocations: 3.211 MB / 0.7742 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/0.6682, allocations: 39.47 kB / 0.7742 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.6682, allocations: 0.9375 kB / 0.7742 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.03747/0.7057, allocations: 15 MB / 0.7888 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.7058, allocations: 57.31 kB / 0.7889 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.025e-05/0.7058, allocations: 96.62 kB / 0.789 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.7058, allocations: 29.33 kB / 0.789 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.023e-05/0.7059, allocations: 88.08 kB / 0.7891 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.389e-05/0.7059, allocations: 46.81 kB / 0.7891 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.581e-05/0.706, allocations: 30.66 kB / 0.7892 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.7061, allocations: 321.8 kB / 0.7895 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.66e-05/0.7061, allocations: 19.59 kB / 0.7895 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.763e-05/0.7062, allocations: 29.48 kB / 0.7895 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.7063, allocations: 64.09 kB / 0.7896 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.7063, allocations: 3.938 kB / 0.7896 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001957/0.7065, allocations: 99.66 kB / 0.7897 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.7065, allocations: 4.938 kB / 0.7897 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.7065, allocations: 1.203 kB / 0.7897 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.7066, allocations: 1.906 kB / 0.7897 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.7067, allocations: 25.52 kB / 0.7897 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.7067, allocations: 2.219 kB / 0.7897 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.692e-05/0.7067, allocations: 7.625 kB / 0.7897 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.7067, allocations: 8.844 kB / 0.7897 GB, free: 10.36 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (14): * Single equations (assignments): 14 * 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 8.996e-05/0.7068, allocations: 127.2 kB / 0.7899 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.167e-05/0.7069, allocations: 9.969 kB / 0.7899 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002458/0.7071, allocations: 117.8 kB / 0.79 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.7072, allocations: 6.812 kB / 0.79 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.7072, allocations: 0 / 0.79 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.7072, allocations: 0 / 0.79 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001353/0.7073, allocations: 174.2 kB / 0.7901 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.7073, allocations: 3.766 kB / 0.7902 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.7074, allocations: 30.89 kB / 0.7902 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.7075, allocations: 0 / 0.7902 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.7075, allocations: 2.812 kB / 0.7902 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.7075, allocations: 0 / 0.7902 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.7075, allocations: 0 / 0.7902 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/0.7078, allocations: 163 kB / 0.7903 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.362e-05/0.7078, allocations: 89.55 kB / 0.7904 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.7078, allocations: 0 / 0.7904 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.708, allocations: 15.11 kB / 0.7904 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.62e-05/0.708, allocations: 10.06 kB / 0.7905 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.708, allocations: 8.438 kB / 0.7905 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 2.911e-05/0.7081, allocations: 83.22 kB / 0.7905 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7081, allocations: 0 / 0.7905 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001959/0.71, allocations: 0.5629 MB / 0.7911 GB, free: 9.656 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * 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 (11): * Single equations (assignments): 11 * 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.002775/0.7128, allocations: 348 kB / 0.7914 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001762/0.713, allocations: 70.11 kB / 0.7915 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.713, allocations: 0 / 0.7915 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 5.805e-05/0.7131, allocations: 33.67 kB / 0.7915 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001814/0.7133, allocations: 10.69 kB / 0.7915 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006198/0.7139, allocations: 387.2 kB / 0.7919 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.7142, allocations: 0.6854 MB / 0.7926 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.724e-05/0.7142, allocations: 17.59 kB / 0.7926 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of SimCode: time 2.21e-07/0.7142, allocations: 0 / 0.7926 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of Templates: time 0.02177/0.736, allocations: 14.35 MB / 0.8066 GB, free: 15.66 MB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe 2>&1)