Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h") translateModel(Buildings.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.225/2.225, allocations: 391.2 MB / 407 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 185.4 kB / 499.1 MB, free: 4.617 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 222.9 MB / 0.7948 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 111.1 kB / 0.9329 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 54.31 kB / 1.081 GB, free: 218.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2345, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1683/0.4029, allocations: 173.7 MB / 1.388 GB, free: 6.871 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.01112/0.4141, allocations: 8.707 MB / 1.396 GB, free: 14.14 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009018/0.415, allocations: 15.88 kB / 1.396 GB, free: 14.12 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0009999/0.4161, allocations: 238.4 kB / 1.397 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.001077/0.4172, allocations: 286.7 kB / 1.397 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.4183, allocations: 338.5 kB / 1.397 GB, free: 13.28 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.001835/0.4202, allocations: 1.616 MB / 1.399 GB, free: 11.66 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008864/0.4211, allocations: 0.5121 MB / 1.399 GB, free: 11.14 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00481/0.4259, allocations: 1.934 MB / 1.401 GB, free: 9.203 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000653/0.4266, allocations: 370.4 kB / 1.401 GB, free: 8.84 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 9.726e-05/0.4267, allocations: 28 kB / 1.401 GB, free: 8.812 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002956/0.427, allocations: 67.95 kB / 1.402 GB, free: 8.746 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0002996/0.4273, allocations: 247.3 kB / 1.402 GB, free: 8.504 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0003969/0.4277, allocations: 274.5 kB / 1.402 GB, free: 8.234 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0006682/0.4284, allocations: 0.5956 MB / 1.403 GB, free: 7.637 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.4284, allocations: 0 / 1.403 GB, free: 7.637 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.213e-06/0.4284, allocations: 0 / 1.403 GB, free: 7.637 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 2.014e-05/0.4284, allocations: 0 / 1.403 GB, free: 7.637 MB / 0.9011 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.001208/0.4297, allocations: 0.8185 MB / 1.403 GB, free: 6.77 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.4297, allocations: 15.98 kB / 1.403 GB, free: 6.754 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001329/0.4298, allocations: 71.09 kB / 1.403 GB, free: 6.684 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006483/0.4305, allocations: 418.2 kB / 1.404 GB, free: 6.234 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.046e-05/0.4306, allocations: 45.3 kB / 1.404 GB, free: 6.191 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.456e-05/0.4306, allocations: 51.98 kB / 1.404 GB, free: 6.141 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009853/0.4316, allocations: 0.7028 MB / 1.405 GB, free: 5.352 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.4317, allocations: 7.938 kB / 1.405 GB, free: 5.344 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.352e-05/0.4317, allocations: 24 kB / 1.405 GB, free: 5.32 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.321e-05/0.4318, allocations: 27.92 kB / 1.405 GB, free: 5.293 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006455/0.4324, allocations: 379.3 kB / 1.405 GB, free: 4.922 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002604/0.435, allocations: 3.223 MB / 1.408 GB, free: 1.555 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002503/0.4353, allocations: 222 kB / 1.408 GB, free: 1.246 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/0.4355, allocations: 132.5 kB / 1.409 GB, free: 1.086 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.4355, allocations: 4 kB / 1.409 GB, free: 1.082 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.4356, allocations: 50.48 kB / 1.409 GB, free: 1.023 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=10): time 1.894e-06/0.4356, allocations: 0 / 1.409 GB, free: 1.023 MB / 0.9011 GB Notification: Performance of matching and sorting (n=10): time 0.0007099/0.4363, allocations: 253.4 kB / 1.409 GB, free: 0.7695 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/0.4364, allocations: 290.7 kB / 1.409 GB, free: 428 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007379/0.4372, allocations: 0.6877 MB / 1.41 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.4372, allocations: 26.11 kB / 1.41 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001896/0.4374, allocations: 268.2 kB / 1.41 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.539e-05/0.4374, allocations: 31.8 kB / 1.41 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.733e-05/0.4375, allocations: 33.7 kB / 1.41 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.4376, allocations: 370.7 kB / 1.41 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.4378, allocations: 43.89 kB / 1.411 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/0.4379, allocations: 97.11 kB / 1.411 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002365/0.4382, allocations: 125 kB / 1.411 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.4382, allocations: 0 / 1.411 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003636/0.4386, allocations: 184.8 kB / 1.411 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.4386, allocations: 12.92 kB / 1.411 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.4386, allocations: 3.938 kB / 1.411 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.4386, allocations: 12.17 kB / 1.411 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/0.4388, allocations: 35.91 kB / 1.411 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.4389, allocations: 7.984 kB / 1.411 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002488/0.4391, allocations: 59.27 kB / 1.411 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.699e-05/0.4392, allocations: 8 kB / 1.411 GB, free: 14.36 MB / 0.9167 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.0001958/0.4394, allocations: 206.4 kB / 1.411 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000207/0.4396, allocations: 59.25 kB / 1.411 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.46e-05/0.4397, allocations: 60.33 kB / 1.411 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.4397, allocations: 8 kB / 1.411 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.4397, allocations: 7.938 kB / 1.411 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.4397, allocations: 0 / 1.411 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001322/0.441, allocations: 1.304 MB / 1.413 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.441, allocations: 4 kB / 1.413 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001797/0.4412, allocations: 40.19 kB / 1.413 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.4412, allocations: 7.984 kB / 1.413 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.4413, allocations: 4 kB / 1.413 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.4413, allocations: 4.188 kB / 1.413 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.4413, allocations: 0 / 1.413 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008173/0.4421, allocations: 1.046 MB / 1.414 GB, free: 11.42 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001818/0.4423, allocations: 148.3 kB / 1.414 GB, free: 11.26 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.983e-05/0.4424, allocations: 7.938 kB / 1.414 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.4426, allocations: 19.92 kB / 1.414 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.929e-05/0.4426, allocations: 15.92 kB / 1.414 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.4426, allocations: 8 kB / 1.414 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0005002/0.4431, allocations: 0.4951 MB / 1.414 GB, free: 10.71 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.3e-07/0.4431, allocations: 0 / 1.414 GB, free: 10.71 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0004682/0.4436, allocations: 80 kB / 1.414 GB, free: 10.64 MB / 0.9167 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.0003341/0.444, allocations: 144.4 kB / 1.415 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003252/0.4443, allocations: 103.8 kB / 1.415 GB, free: 10.39 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.4443, allocations: 0 / 1.415 GB, free: 10.39 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.4445, allocations: 64.77 kB / 1.415 GB, free: 10.33 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001371/0.4458, allocations: 274.9 kB / 1.415 GB, free: 10.07 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.4472, allocations: 1.143 MB / 1.416 GB, free: 8.852 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004307/0.4476, allocations: 0.9091 MB / 1.417 GB, free: 7.918 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0002579/0.4479, allocations: 104.6 kB / 1.417 GB, free: 7.816 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.532e-05/0.448, allocations: 31.44 kB / 1.417 GB, free: 7.785 MB / 0.9167 GB Notification: Performance of SimCode: time 4.21e-07/0.448, allocations: 4 kB / 1.417 GB, free: 7.781 MB / 0.9167 GB Notification: Performance of Templates: time 0.4903/0.9383, allocations: 8.222 MB / 1.425 GB, free: 208.1 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)