Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck") translateModel(BuildingSystems.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008149/0.0008149, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0008564/0.0008564, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.152/1.152, allocations: 223.2 MB / 239.9 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001617/0.001617, allocations: 275.2 kB / 291.3 MB, free: 1.898 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7014/0.7014, allocations: 144.6 MB / 487 MB, free: 7.219 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003637/0.0003637, allocations: 19.06 kB / 0.5683 GB, free: 38.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1205, allocations: 83.08 MB / 0.6494 GB, free: 3.711 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.001068/0.1216, allocations: 0.9695 MB / 0.6504 GB, free: 2.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1132/0.2348, allocations: 116.4 MB / 0.764 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.183e-05/0.2349, allocations: 0 / 0.764 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.078e-05/0.235, allocations: 0 / 0.764 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.804e-05/0.2351, allocations: 3.984 kB / 0.764 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001778/0.2369, allocations: 362.9 kB / 0.7644 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.237, allocations: 27.95 kB / 0.7644 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.801e-05/0.2371, allocations: 8 kB / 0.7644 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.605e-05/0.2371, allocations: 15.98 kB / 0.7644 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.2373, allocations: 23.91 kB / 0.7644 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.2373, allocations: 4 kB / 0.7644 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002095/0.2394, allocations: 0.7842 MB / 0.7652 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.931e-05/0.2395, allocations: 11.97 kB / 0.7652 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.385e-05/0.2395, allocations: 29.7 kB / 0.7652 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005003/0.24, allocations: 279.7 kB / 0.7655 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.24, allocations: 3.938 kB / 0.7655 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.344e-06/0.24, allocations: 0 / 0.7655 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.24, allocations: 4 kB / 0.7655 GB, free: 12.54 MB / 0.5606 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.0005846/0.2406, allocations: 367.2 kB / 0.7659 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.2407, allocations: 8.031 kB / 0.7659 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001952/0.2409, allocations: 8 kB / 0.7659 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.241, allocations: 167 kB / 0.766 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.241, allocations: 8 kB / 0.766 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.2411, allocations: 4 kB / 0.7661 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.2412, allocations: 57.66 kB / 0.7661 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.2412, allocations: 0 / 0.7661 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.2412, allocations: 3.984 kB / 0.7661 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.2412, allocations: 0 / 0.7661 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.347e-05/0.2413, allocations: 27.92 kB / 0.7661 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000152/0.2415, allocations: 165.6 kB / 0.7663 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.568e-05/0.2416, allocations: 54.5 kB / 0.7663 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01013/0.2517, allocations: 3.205 MB / 0.7695 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.2518, allocations: 34.56 kB / 0.7695 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.2518, allocations: 0 / 0.7695 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.3051/0.5569, allocations: 14.24 MB / 0.7834 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.557, allocations: 54.8 kB / 0.7835 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.85e-05/0.557, allocations: 96.19 kB / 0.7836 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.557, allocations: 26.73 kB / 0.7836 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 1.253e-05/0.5571, allocations: 84.08 kB / 0.7837 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.5571, allocations: 43.61 kB / 0.7837 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-06/0.5571, allocations: 4.188 kB / 0.7837 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.098e-05/0.5572, allocations: 315.9 kB / 0.784 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.559e-05/0.5572, allocations: 21.59 kB / 0.784 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.674e-05/0.5573, allocations: 22.91 kB / 0.7841 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.479e-05/0.5573, allocations: 26.47 kB / 0.7841 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.5573, allocations: 1.438 kB / 0.7841 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001846/0.5575, allocations: 105.5 kB / 0.7842 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.5576, allocations: 7.531 kB / 0.7842 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.5576, allocations: 4.562 kB / 0.7842 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.5576, allocations: 0.9688 kB / 0.7842 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.5577, allocations: 24.78 kB / 0.7842 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.5577, allocations: 2.438 kB / 0.7842 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.421e-05/0.5577, allocations: 8.281 kB / 0.7842 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.5578, allocations: 8.016 kB / 0.7842 GB, free: 10.49 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.242e-05/0.5578, allocations: 116.9 kB / 0.7844 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.54e-05/0.5579, allocations: 7.891 kB / 0.7844 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002411/0.5581, allocations: 130.3 kB / 0.7845 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.5581, allocations: 1.219 kB / 0.7845 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.5581, allocations: 1.188 kB / 0.7845 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.5581, allocations: 1.078 kB / 0.7845 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.528e-05/0.5582, allocations: 177.3 kB / 0.7847 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.5582, allocations: 1.5 kB / 0.7847 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.5584, allocations: 35.64 kB / 0.7847 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.5584, allocations: 0 / 0.7847 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.5584, allocations: 2.344 kB / 0.7847 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.5584, allocations: 1.469 kB / 0.7847 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.5584, allocations: 1.5 kB / 0.7847 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.5587, allocations: 151 kB / 0.7848 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.381e-05/0.5587, allocations: 89.42 kB / 0.7849 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.5587, allocations: 3.812 kB / 0.7849 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.5589, allocations: 17.86 kB / 0.7849 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.086e-05/0.5589, allocations: 8.672 kB / 0.785 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.5589, allocations: 7.188 kB / 0.785 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 1.463e-05/0.5589, allocations: 76.84 kB / 0.785 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5589, allocations: 0 / 0.785 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001522/0.5605, allocations: 0.5651 MB / 0.7856 GB, free: 9.883 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002394/0.5629, allocations: 360.5 kB / 0.7859 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001542/0.563, allocations: 68.17 kB / 0.786 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.563, allocations: 1.906 kB / 0.786 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.996e-05/0.5631, allocations: 37.98 kB / 0.786 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001229/0.5632, allocations: 10.08 kB / 0.786 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005147/0.5638, allocations: 411.9 kB / 0.7864 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.732e-05/0.5639, allocations: 0.692 MB / 0.7871 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.612e-05/0.564, allocations: 29.17 kB / 0.7871 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.599e-05/0.564, allocations: 17.98 kB / 0.7872 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of SimCode: time 2.21e-07/0.564, allocations: 0 / 0.7872 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of Templates: time 0.03319/0.5972, allocations: 25.64 MB / 0.8122 GB, free: 0.9297 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: