Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Sources.Examples.PropertySource_h.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Sources.Examples.PropertySource_h") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002494/0.002497, allocations: 352.9 kB / 15.94 MB, free: 6.211 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.345/1.345, allocations: 165.8 MB / 182.5 MB, free: 5.918 MB / 90.73 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.209/4.209, allocations: 410.8 MB / 0.5995 GB, free: 2.098 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001793/0.001793, allocations: 192.4 kB / 0.6662 GB, free: 13.98 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004885/0.0004886, allocations: 12.05 kB / 0.7423 GB, free: 15.98 MB / 0.5574 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4662/0.4668, allocations: 67.44 MB / 0.8081 GB, free: 245.4 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.PropertySource_h): time 0.1644/0.6312, allocations: 158.5 MB / 0.9629 GB, free: 98.89 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00936/0.6406, allocations: 7.624 MB / 0.9703 GB, free: 91.26 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007183/0.6413, allocations: 15.88 kB / 0.9703 GB, free: 91.25 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.000952/0.6423, allocations: 306 kB / 0.9706 GB, free: 90.95 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.001235/0.6435, allocations: 481.5 kB / 0.9711 GB, free: 90.47 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.001685/0.6452, allocations: 0.5177 MB / 0.9716 GB, free: 89.97 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001338/0.6466, allocations: 1.382 MB / 0.9729 GB, free: 88.58 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000676/0.6473, allocations: 428.8 kB / 0.9734 GB, free: 88.18 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002988/0.6503, allocations: 1.182 MB / 0.9745 GB, free: 86.99 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000396/0.6507, allocations: 334 kB / 0.9748 GB, free: 86.66 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 6.158e-05/0.6508, allocations: 20 kB / 0.9749 GB, free: 86.64 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002043/0.651, allocations: 55.97 kB / 0.9749 GB, free: 86.59 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0002504/0.6513, allocations: 235.3 kB / 0.9751 GB, free: 86.36 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001181/0.6514, allocations: 121.5 kB / 0.9752 GB, free: 86.23 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004646/0.6519, allocations: 462.9 kB / 0.9757 GB, free: 85.78 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.602e-06/0.6519, allocations: 0 / 0.9757 GB, free: 85.78 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.579e-06/0.6519, allocations: 4 kB / 0.9757 GB, free: 85.78 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 9.575e-06/0.6519, allocations: 0 / 0.9757 GB, free: 85.78 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.000912/0.6529, allocations: 0.7172 MB / 0.9764 GB, free: 85.01 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.6529, allocations: 8.031 kB / 0.9764 GB, free: 85 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.653, allocations: 67.25 kB / 0.9765 GB, free: 84.94 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005577/0.6536, allocations: 394.5 kB / 0.9768 GB, free: 84.51 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.946e-05/0.6537, allocations: 45.23 kB / 0.9769 GB, free: 84.46 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.352e-05/0.6538, allocations: 59.95 kB / 0.9769 GB, free: 84.41 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.6548, allocations: 0.6989 MB / 0.9776 GB, free: 83.63 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/0.6549, allocations: 8.969 kB / 0.9776 GB, free: 83.62 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.288e-05/0.6549, allocations: 20 kB / 0.9776 GB, free: 83.6 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.718e-05/0.655, allocations: 35.97 kB / 0.9777 GB, free: 83.57 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007706/0.6558, allocations: 387.3 kB / 0.9781 GB, free: 83.19 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002571/0.6584, allocations: 3.227 MB / 0.9812 GB, free: 79.82 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002577/0.6587, allocations: 226.1 kB / 0.9814 GB, free: 79.51 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002134/0.6589, allocations: 138.3 kB / 0.9816 GB, free: 79.35 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.6589, allocations: 4 kB / 0.9816 GB, free: 79.34 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.659, allocations: 50.45 kB / 0.9816 GB, free: 79.29 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=10): time 3.21e-06/0.659, allocations: 0 / 0.9816 GB, free: 79.29 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10): time 0.0008796/0.6599, allocations: 262.3 kB / 0.9819 GB, free: 79.02 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.598e-05/0.66, allocations: 295.1 kB / 0.9821 GB, free: 78.67 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008285/0.6608, allocations: 0.6799 MB / 0.9828 GB, free: 77.98 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.6608, allocations: 29.7 kB / 0.9828 GB, free: 77.95 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001956/0.661, allocations: 268.2 kB / 0.9831 GB, free: 77.68 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.592e-05/0.6611, allocations: 31.55 kB / 0.9831 GB, free: 77.65 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.998e-06/0.6611, allocations: 0 / 0.9831 GB, free: 77.65 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.6612, allocations: 371.1 kB / 0.9835 GB, free: 77.28 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.6614, allocations: 43.97 kB / 0.9835 GB, free: 77.23 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001849/0.6616, allocations: 102.8 kB / 0.9836 GB, free: 77.12 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.6617, allocations: 55.89 kB / 0.9837 GB, free: 77.06 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.961e-06/0.6617, allocations: 0 / 0.9837 GB, free: 77.06 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004214/0.6622, allocations: 204.9 kB / 0.9839 GB, free: 76.86 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.6622, allocations: 4 kB / 0.9839 GB, free: 76.85 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.607e-06/0.6622, allocations: 3.953 kB / 0.9839 GB, free: 76.85 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.6622, allocations: 4 kB / 0.9839 GB, free: 76.84 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002487/0.6625, allocations: 55.95 kB / 0.9839 GB, free: 76.79 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.052e-06/0.6625, allocations: 4 kB / 0.9839 GB, free: 76.79 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003053/0.6628, allocations: 63.34 kB / 0.984 GB, free: 76.72 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.86e-05/0.6629, allocations: 8 kB / 0.984 GB, free: 76.71 MB / 0.5886 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 (10): * Single equations (assignments): 10 * 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 0.0002313/0.6631, allocations: 203.8 kB / 0.9842 GB, free: 76.51 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003047/0.6634, allocations: 63.23 kB / 0.9842 GB, free: 76.45 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.911e-05/0.6636, allocations: 60.33 kB / 0.9843 GB, free: 76.38 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.628e-05/0.6636, allocations: 6.297 kB / 0.9843 GB, free: 76.38 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.405e-06/0.6636, allocations: 4 kB / 0.9843 GB, free: 76.38 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.229e-06/0.6636, allocations: 5.266 kB / 0.9843 GB, free: 76.37 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001548/0.6652, allocations: 1.299 MB / 0.9856 GB, free: 74.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.922e-06/0.6652, allocations: 4 kB / 0.9856 GB, free: 74.98 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002736/0.6655, allocations: 52.23 kB / 0.9856 GB, free: 74.93 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.006e-05/0.6655, allocations: 4 kB / 0.9856 GB, free: 74.93 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.6655, allocations: 11.94 kB / 0.9857 GB, free: 74.91 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.393e-06/0.6656, allocations: 7.984 kB / 0.9857 GB, free: 74.91 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.389e-06/0.6656, allocations: 0 / 0.9857 GB, free: 74.91 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004615/0.666, allocations: 346.4 kB / 0.986 GB, free: 74.52 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000214/0.6663, allocations: 148.3 kB / 0.9861 GB, free: 74.36 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.419e-05/0.6664, allocations: 4 kB / 0.9861 GB, free: 74.36 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003129/0.6667, allocations: 23.98 kB / 0.9862 GB, free: 74.33 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.116e-05/0.6668, allocations: 19.88 kB / 0.9862 GB, free: 74.31 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.6668, allocations: 4 kB / 0.9862 GB, free: 74.31 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0006831/0.6675, allocations: 499 kB / 0.9867 GB, free: 73.82 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8.85e-07/0.6675, allocations: 0 / 0.9867 GB, free: 73.82 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0005588/0.6681, allocations: 87.92 kB / 0.9867 GB, free: 73.74 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (10): * Single equations (assignments): 10 * 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.000318/0.6684, allocations: 136 kB / 0.9869 GB, free: 73.61 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003873/0.6688, allocations: 108.1 kB / 0.987 GB, free: 73.51 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.705e-06/0.6688, allocations: 3.938 kB / 0.987 GB, free: 73.5 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.669, allocations: 71.83 kB / 0.987 GB, free: 73.43 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00174/0.6708, allocations: 268 kB / 0.9873 GB, free: 73.18 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001504/0.6723, allocations: 0.9688 MB / 0.9883 GB, free: 72.16 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003861/0.6727, allocations: 0.9169 MB / 0.9891 GB, free: 71.22 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0003669/0.6731, allocations: 103.3 kB / 0.9892 GB, free: 71.12 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.717e-05/0.6732, allocations: 35.44 kB / 0.9893 GB, free: 71.09 MB / 0.5886 GB Notification: Performance of SimCode: time 1.579e-06/0.6732, allocations: 0 / 0.9893 GB, free: 71.09 MB / 0.5886 GB Notification: Performance of Templates: time 0.01747/0.6907, allocations: 7.764 MB / 0.9969 GB, free: 63.59 MB / 0.5886 GB