Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h") translateModel(Buildings.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.691/1.691, allocations: 292.3 MB / 308.1 MB, free: 4.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001372/0.001372, allocations: 188.5 kB / 376.9 MB, free: 1.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.444/1.444, allocations: 205 MB / 0.6353 GB, free: 9.812 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001059/0.001059, allocations: 94.05 kB / 0.7479 GB, free: 61.14 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000998/0.0009982, allocations: 51.92 kB / 0.8704 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2521, allocations: 114.5 MB / 0.9822 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.61/0.8622, allocations: 173.7 MB / 1.152 GB, free: 7.945 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.009885/0.8721, allocations: 8.711 MB / 1.16 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008199/0.873, allocations: 20.94 kB / 1.16 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0008495/0.8739, allocations: 242.7 kB / 1.161 GB, free: 1.551 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0008313/0.8747, allocations: 294.8 kB / 1.161 GB, free: 1.391 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009475/0.8757, allocations: 333 kB / 1.161 GB, free: 1.211 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.001427/0.8771, allocations: 1.628 MB / 1.163 GB, free: 0.6602 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006303/0.8778, allocations: 0.5041 MB / 1.163 GB, free: 464 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00452/0.8823, allocations: 1.929 MB / 1.165 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005641/0.8829, allocations: 376 kB / 1.166 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 9.211e-05/0.883, allocations: 29.19 kB / 1.166 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002304/0.8833, allocations: 68.3 kB / 1.166 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002075/0.8835, allocations: 235.6 kB / 1.166 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002607/0.8837, allocations: 269.4 kB / 1.166 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005334/0.8843, allocations: 0.6098 MB / 1.167 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.8843, allocations: 0 / 1.167 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.92e-07/0.8843, allocations: 0 / 1.167 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.515e-05/0.8843, allocations: 0 / 1.167 GB, free: 14.95 MB / 0.7761 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.001036/0.8854, allocations: 0.8192 MB / 1.168 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.8854, allocations: 9.938 kB / 1.168 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.561e-05/0.8855, allocations: 68.47 kB / 1.168 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005396/0.8861, allocations: 418.8 kB / 1.168 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.194e-05/0.8861, allocations: 47.7 kB / 1.168 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.583e-05/0.8862, allocations: 49.97 kB / 1.168 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009279/0.8871, allocations: 0.7073 MB / 1.169 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.8871, allocations: 7.094 kB / 1.169 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.249e-05/0.8872, allocations: 22.66 kB / 1.169 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.932e-05/0.8873, allocations: 34.06 kB / 1.169 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005662/0.8878, allocations: 368.5 kB / 1.169 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002445/0.8903, allocations: 3.23 MB / 1.172 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002427/0.8905, allocations: 227.6 kB / 1.173 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001746/0.8907, allocations: 130.2 kB / 1.173 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.8907, allocations: 3.062 kB / 1.173 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.8908, allocations: 46.78 kB / 1.173 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=10): time 1.753e-06/0.8908, allocations: 0 / 1.173 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10): time 0.0006919/0.8915, allocations: 252.2 kB / 1.173 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001312/0.8916, allocations: 289.2 kB / 1.173 GB, free: 9.77 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006391/0.8923, allocations: 0.6857 MB / 1.174 GB, free: 9.492 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.8923, allocations: 29.23 kB / 1.174 GB, free: 9.461 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001849/0.8925, allocations: 273.8 kB / 1.174 GB, free: 9.242 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.886e-05/0.8925, allocations: 30.47 kB / 1.174 GB, free: 9.215 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-05/0.8926, allocations: 33.3 kB / 1.174 GB, free: 9.191 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.8928, allocations: 367.4 kB / 1.175 GB, free: 8.855 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.8929, allocations: 40.66 kB / 1.175 GB, free: 8.848 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/0.893, allocations: 95.5 kB / 1.175 GB, free: 8.785 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002148/0.8932, allocations: 129.4 kB / 1.175 GB, free: 8.711 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.8933, allocations: 0.5625 kB / 1.175 GB, free: 8.711 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003112/0.8936, allocations: 183.8 kB / 1.175 GB, free: 8.625 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.8936, allocations: 6.406 kB / 1.175 GB, free: 8.625 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.8936, allocations: 3 kB / 1.175 GB, free: 8.625 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.8936, allocations: 4.125 kB / 1.175 GB, free: 8.621 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002131/0.8939, allocations: 46.16 kB / 1.175 GB, free: 8.613 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.8939, allocations: 8.062 kB / 1.175 GB, free: 8.613 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002287/0.8941, allocations: 61.44 kB / 1.175 GB, free: 8.574 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.129e-05/0.8941, allocations: 6.281 kB / 1.175 GB, free: 8.574 MB / 0.7761 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001825/0.8943, allocations: 199.5 kB / 1.175 GB, free: 8.43 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002131/0.8946, allocations: 60.66 kB / 1.175 GB, free: 8.398 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.019e-05/0.8946, allocations: 63.56 kB / 1.175 GB, free: 8.367 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.8947, allocations: 7.281 kB / 1.175 GB, free: 8.363 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.8947, allocations: 3.594 kB / 1.175 GB, free: 8.363 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.8947, allocations: 6.312 kB / 1.176 GB, free: 8.363 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001281/0.896, allocations: 1.304 MB / 1.177 GB, free: 7.258 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.896, allocations: 3.688 kB / 1.177 GB, free: 7.258 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/0.8962, allocations: 43.42 kB / 1.177 GB, free: 7.254 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/0.8962, allocations: 11.2 kB / 1.177 GB, free: 7.246 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.8962, allocations: 8.422 kB / 1.177 GB, free: 7.242 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.8962, allocations: 9.188 kB / 1.177 GB, free: 7.238 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.8962, allocations: 3.312 kB / 1.177 GB, free: 7.238 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000754/0.897, allocations: 1.033 MB / 1.178 GB, free: 6.328 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001633/0.8971, allocations: 147.8 kB / 1.178 GB, free: 6.199 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.029e-05/0.8972, allocations: 11.12 kB / 1.178 GB, free: 6.191 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001803/0.8974, allocations: 16.75 kB / 1.178 GB, free: 6.188 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.234e-05/0.8974, allocations: 13.7 kB / 1.178 GB, free: 6.184 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.8974, allocations: 11.59 kB / 1.178 GB, free: 6.176 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004604/0.8979, allocations: 0.493 MB / 1.179 GB, free: 5.973 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8979, allocations: 0 / 1.179 GB, free: 5.973 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004631/0.8984, allocations: 80.78 kB / 1.179 GB, free: 5.965 MB / 0.7761 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 (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.0003106/0.8987, allocations: 141.7 kB / 1.179 GB, free: 5.859 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003164/0.899, allocations: 111.8 kB / 1.179 GB, free: 5.828 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.899, allocations: 0 / 1.179 GB, free: 5.828 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001278/0.8992, allocations: 60.03 kB / 1.179 GB, free: 5.812 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00135/0.9005, allocations: 270.9 kB / 1.179 GB, free: 5.754 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.9018, allocations: 1.151 MB / 1.18 GB, free: 4.973 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004193/0.9023, allocations: 0.9143 MB / 1.181 GB, free: 4.246 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002375/0.9025, allocations: 106.3 kB / 1.181 GB, free: 4.234 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.716e-05/0.9026, allocations: 35.5 kB / 1.181 GB, free: 4.227 MB / 0.7761 GB Notification: Performance of SimCode: time 3.71e-07/0.9026, allocations: 0 / 1.181 GB, free: 4.227 MB / 0.7761 GB Notification: Performance of Templates: time 0.01296/0.9155, allocations: 8.208 MB / 1.189 GB, free: 3.75 MB / 0.7761 GB make -j1 -f Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.makefile (rm -f Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & ./Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)