Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.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 Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Sources.Examples.PropertySource_h") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.455/2.455, allocations: 287.9 MB / 302.9 MB, free: 8.293 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001484/0.001484, allocations: 182.7 kB / 371.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.028/2.028, allocations: 205.4 MB / 0.6301 GB, free: 10.42 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001573/0.001573, allocations: 96.31 kB / 0.7434 GB, free: 6.426 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008122/0.0008126, allocations: 11.94 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.1891, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.7814/0.9706, allocations: 146.9 MB / 1.122 GB, free: 0.6562 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.009603/0.9802, allocations: 7.008 MB / 1.129 GB, free: 96 kB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008576/0.9811, allocations: 15.38 kB / 1.129 GB, free: 88 kB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.9822, allocations: 346.7 kB / 1.129 GB, free: 24 kB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001072/0.9833, allocations: 375 kB / 1.13 GB, free: 0 / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002286/0.9856, allocations: 0.5212 MB / 1.13 GB, free: 15.98 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001986/0.9876, allocations: 0.6763 MB / 1.131 GB, free: 15.95 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001172/0.9888, allocations: 457.4 kB / 1.131 GB, free: 15.88 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005199/0.994, allocations: 1.218 MB / 1.133 GB, free: 15.77 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005329/0.9946, allocations: 214.2 kB / 1.133 GB, free: 15.71 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.596e-05/0.9947, allocations: 20.88 kB / 1.133 GB, free: 15.71 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002932/0.9951, allocations: 54.44 kB / 1.133 GB, free: 15.71 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003481/0.9954, allocations: 219 kB / 1.133 GB, free: 15.69 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002115/0.9957, allocations: 127.1 kB / 1.133 GB, free: 15.64 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0007805/0.9965, allocations: 462.8 kB / 1.134 GB, free: 15.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.2e-06/0.9965, allocations: 0 / 1.134 GB, free: 15.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.863e-06/0.9965, allocations: 0 / 1.134 GB, free: 15.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.244e-05/0.9965, allocations: 0 / 1.134 GB, free: 15.6 MB / 0.698 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.00182/0.9984, allocations: 0.7207 MB / 1.134 GB, free: 15.07 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/0.9984, allocations: 7.719 kB / 1.134 GB, free: 15.07 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002432/0.9987, allocations: 73.23 kB / 1.134 GB, free: 15.03 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006924/0.9994, allocations: 400.9 kB / 1.135 GB, free: 14.78 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.139e-05/0.9995, allocations: 39.73 kB / 1.135 GB, free: 14.78 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-05/0.9996, allocations: 53.7 kB / 1.135 GB, free: 14.78 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/1.001, allocations: 0.7014 MB / 1.136 GB, free: 14.51 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.383e-05/1.001, allocations: 6.891 kB / 1.136 GB, free: 14.51 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.701e-05/1.001, allocations: 26.97 kB / 1.136 GB, free: 14.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.787e-05/1.001, allocations: 34.42 kB / 1.136 GB, free: 14.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007924/1.002, allocations: 378.9 kB / 1.136 GB, free: 14.48 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00368/1.006, allocations: 3.232 MB / 1.139 GB, free: 12.02 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003344/1.006, allocations: 223.1 kB / 1.139 GB, free: 11.77 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/1.006, allocations: 6.375 kB / 1.139 GB, free: 11.76 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.07e-05/1.006, allocations: 48.09 kB / 1.139 GB, free: 11.71 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 4.472e-06/1.006, allocations: 5.859 kB / 1.139 GB, free: 11.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0008889/1.007, allocations: 259.9 kB / 1.14 GB, free: 11.63 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001747/1.007, allocations: 294.4 kB / 1.14 GB, free: 11.29 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009027/1.008, allocations: 0.6799 MB / 1.141 GB, free: 11.14 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.391e-05/1.008, allocations: 25.7 kB / 1.141 GB, free: 11.11 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000241/1.008, allocations: 267.2 kB / 1.141 GB, free: 11 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.662e-05/1.008, allocations: 44.48 kB / 1.141 GB, free: 10.97 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.867e-06/1.008, allocations: 0 / 1.141 GB, free: 10.97 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002339/1.009, allocations: 370.2 kB / 1.141 GB, free: 10.64 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/1.009, allocations: 41.52 kB / 1.141 GB, free: 10.62 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002145/1.009, allocations: 103.5 kB / 1.141 GB, free: 10.56 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/1.009, allocations: 58.05 kB / 1.141 GB, free: 10.54 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.033e-06/1.009, allocations: 0 / 1.141 GB, free: 10.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000461/1.01, allocations: 194 kB / 1.142 GB, free: 10.46 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/1.01, allocations: 9.031 kB / 1.142 GB, free: 10.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.642e-06/1.01, allocations: 3.281 kB / 1.142 GB, free: 10.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/1.01, allocations: 3.531 kB / 1.142 GB, free: 10.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002609/1.01, allocations: 51.44 kB / 1.142 GB, free: 10.44 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.892e-06/1.01, allocations: 2.312 kB / 1.142 GB, free: 10.44 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000342/1.01, allocations: 81.03 kB / 1.142 GB, free: 10.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.128e-05/1.01, allocations: 6.844 kB / 1.142 GB, free: 10.39 MB / 0.698 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.000291/1.011, allocations: 199.3 kB / 1.142 GB, free: 10.25 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003295/1.011, allocations: 57 kB / 1.142 GB, free: 10.23 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/1.011, allocations: 63 kB / 1.142 GB, free: 10.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/1.011, allocations: 4.062 kB / 1.142 GB, free: 10.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.656e-06/1.011, allocations: 6.75 kB / 1.142 GB, free: 10.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.391e-06/1.011, allocations: 2.938 kB / 1.142 GB, free: 10.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001947/1.013, allocations: 1.299 MB / 1.143 GB, free: 9.094 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.218e-06/1.013, allocations: 2.844 kB / 1.143 GB, free: 9.094 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002488/1.014, allocations: 54.36 kB / 1.143 GB, free: 9.082 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.973e-06/1.014, allocations: 6.906 kB / 1.143 GB, free: 9.078 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/1.014, allocations: 6.641 kB / 1.143 GB, free: 9.074 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.575e-06/1.014, allocations: 6.5 kB / 1.143 GB, free: 9.07 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-06/1.014, allocations: 6.641 kB / 1.143 GB, free: 9.066 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000624/1.014, allocations: 448.8 kB / 1.144 GB, free: 8.656 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002125/1.014, allocations: 149.4 kB / 1.144 GB, free: 8.523 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.356e-05/1.015, allocations: 4.812 kB / 1.144 GB, free: 8.523 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002846/1.015, allocations: 21.16 kB / 1.144 GB, free: 8.516 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.374e-05/1.015, allocations: 16.02 kB / 1.144 GB, free: 8.508 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/1.015, allocations: 5.094 kB / 1.144 GB, free: 8.508 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006857/1.016, allocations: 0.4924 MB / 1.145 GB, free: 8.336 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.43e-07/1.016, allocations: 0 / 1.145 GB, free: 8.336 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005162/1.016, allocations: 91.98 kB / 1.145 GB, free: 8.32 MB / 0.698 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.0003327/1.017, allocations: 133.9 kB / 1.145 GB, free: 8.223 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003751/1.017, allocations: 108.6 kB / 1.145 GB, free: 8.195 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.736e-06/1.017, allocations: 0 / 1.145 GB, free: 8.195 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000199/1.017, allocations: 71.34 kB / 1.145 GB, free: 8.176 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001437/1.019, allocations: 266.8 kB / 1.145 GB, free: 8.09 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001658/1.02, allocations: 0.9715 MB / 1.146 GB, free: 7.457 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006898/1.021, allocations: 0.9205 MB / 1.147 GB, free: 6.66 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003688/1.021, allocations: 107.5 kB / 1.147 GB, free: 6.617 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.555e-05/1.021, allocations: 35.69 kB / 1.147 GB, free: 6.609 MB / 0.698 GB Notification: Performance of SimCode: time 1.535e-06/1.022, allocations: 0 / 1.147 GB, free: 6.609 MB / 0.698 GB Notification: Performance of Templates: time 0.02109/1.043, allocations: 7.779 MB / 1.155 GB, free: 2.812 MB / 0.698 GB