Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.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.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h") translateModel(BuildingSystems.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001711/0.001711, allocations: 106 kB / 16.41 MB, free: 6.395 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.001815/0.001815, allocations: 194.9 kB / 17.34 MB, free: 5.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00256/0.00256, allocations: 289.4 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.031/1.031, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002712/0.002712, allocations: 99.84 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4632/0.4659, allocations: 86.98 MB / 0.7671 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_h): time 0.209/0.6749, allocations: 176.4 MB / 0.9394 GB, free: 2.797 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01092/0.6858, allocations: 8.736 MB / 0.9479 GB, free: 10.04 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004905/0.6863, allocations: 19.88 kB / 0.9479 GB, free: 10.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007741/0.6871, allocations: 305.7 kB / 0.9482 GB, free: 9.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0007007/0.6878, allocations: 322.4 kB / 0.9485 GB, free: 9.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009749/0.6888, allocations: 378.8 kB / 0.9489 GB, free: 9.035 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001302/0.6901, allocations: 1.152 MB / 0.95 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007505/0.6908, allocations: 0.4901 MB / 0.9505 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004472/0.6953, allocations: 2.14 MB / 0.9526 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000448/0.6958, allocations: 342.5 kB / 0.9529 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.713e-05/0.6958, allocations: 40 kB / 0.9529 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001959/0.696, allocations: 79.95 kB / 0.953 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002856/0.6963, allocations: 271.2 kB / 0.9533 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003097/0.6966, allocations: 290.5 kB / 0.9535 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007976/0.6974, allocations: 0.644 MB / 0.9542 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.6974, allocations: 4 kB / 0.9542 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.442e-06/0.6974, allocations: 0 / 0.9542 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.326e-05/0.6974, allocations: 0 / 0.9542 GB, free: 3.59 MB / 0.7169 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.001151/0.6986, allocations: 0.8373 MB / 0.955 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.6986, allocations: 12.03 kB / 0.955 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001266/0.6988, allocations: 75.52 kB / 0.9551 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007686/0.6995, allocations: 458.3 kB / 0.9555 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.848e-05/0.6996, allocations: 37.31 kB / 0.9555 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.199e-05/0.6996, allocations: 55.98 kB / 0.9556 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/0.7007, allocations: 0.6973 MB / 0.9563 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.7008, allocations: 11.88 kB / 0.9563 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.666e-05/0.7008, allocations: 20 kB / 0.9563 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.677e-05/0.7009, allocations: 31.92 kB / 0.9563 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006911/0.7015, allocations: 375.4 kB / 0.9567 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3594/1.061, allocations: 3.222 MB / 0.9598 GB, free: 190.8 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003504/1.061, allocations: 215 kB / 0.96 GB, free: 190.6 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003504/1.062, allocations: 129.4 kB / 0.9602 GB, free: 190.5 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.842e-05/1.062, allocations: 6.672 kB / 0.9602 GB, free: 190.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.946e-05/1.062, allocations: 43.03 kB / 0.9602 GB, free: 190.5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 3.727e-06/1.062, allocations: 0.5312 kB / 0.9602 GB, free: 190.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.001261/1.063, allocations: 254.8 kB / 0.9605 GB, free: 190.4 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.703e-05/1.063, allocations: 295.1 kB / 0.9607 GB, free: 190 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001498/1.065, allocations: 0.6853 MB / 0.9614 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/1.065, allocations: 27.36 kB / 0.9614 GB, free: 189.7 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002837/1.065, allocations: 269 kB / 0.9617 GB, free: 189.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.455e-05/1.065, allocations: 39.2 kB / 0.9617 GB, free: 189.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.559e-05/1.065, allocations: 27.89 kB / 0.9618 GB, free: 189.5 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001437/1.065, allocations: 372.6 kB / 0.9621 GB, free: 189.1 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002138/1.065, allocations: 38.69 kB / 0.9622 GB, free: 189.1 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000284/1.066, allocations: 99.91 kB / 0.9622 GB, free: 189.1 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004046/1.066, allocations: 125.9 kB / 0.9624 GB, free: 189 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/1.066, allocations: 4.281 kB / 0.9624 GB, free: 189 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006267/1.067, allocations: 190.4 kB / 0.9626 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/1.067, allocations: 6.234 kB / 0.9626 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/1.067, allocations: 1.562 kB / 0.9626 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.507e-05/1.067, allocations: 2.875 kB / 0.9626 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003436/1.067, allocations: 41.23 kB / 0.9626 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/1.067, allocations: 6.125 kB / 0.9626 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003834/1.067, allocations: 60.02 kB / 0.9627 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.194e-05/1.068, allocations: 7.484 kB / 0.9627 GB, free: 188.9 MB / 0.7169 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.0003123/1.068, allocations: 201.8 kB / 0.9629 GB, free: 188.7 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003541/1.068, allocations: 67.72 kB / 0.9629 GB, free: 188.7 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000133/1.068, allocations: 58.91 kB / 0.963 GB, free: 188.7 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/1.068, allocations: 4.047 kB / 0.963 GB, free: 188.7 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/1.068, allocations: 3.219 kB / 0.963 GB, free: 188.7 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/1.068, allocations: 2.875 kB / 0.963 GB, free: 188.7 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001958/1.07, allocations: 1.31 MB / 0.9643 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/1.07, allocations: 2.375 kB / 0.9643 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003181/1.071, allocations: 41.03 kB / 0.9643 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.07e-05/1.071, allocations: 3.469 kB / 0.9643 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/1.071, allocations: 2.906 kB / 0.9643 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.197e-06/1.071, allocations: 8.094 kB / 0.9643 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/1.071, allocations: 2.188 kB / 0.9643 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005491/1.071, allocations: 343.3 kB / 0.9647 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002184/1.071, allocations: 159 kB / 0.9648 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.768e-05/1.072, allocations: 4.969 kB / 0.9648 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003338/1.072, allocations: 8.094 kB / 0.9648 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.887e-05/1.072, allocations: 19.69 kB / 0.9648 GB, free: 187.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/1.072, allocations: 8.031 kB / 0.9648 GB, free: 187.1 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009049/1.073, allocations: 0.4948 MB / 0.9653 GB, free: 186.9 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.8e-07/1.073, allocations: 0 / 0.9653 GB, free: 186.9 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0007478/1.074, allocations: 79.2 kB / 0.9654 GB, free: 186.9 MB / 0.7169 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.000444/1.074, allocations: 132.7 kB / 0.9655 GB, free: 186.8 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000593/1.075, allocations: 108.1 kB / 0.9656 GB, free: 186.8 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/1.075, allocations: 4.25 kB / 0.9656 GB, free: 186.8 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002721/1.075, allocations: 62.86 kB / 0.9657 GB, free: 186.8 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002472/1.077, allocations: 282.6 kB / 0.966 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/1.079, allocations: 0.8936 MB / 0.9668 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005688/1.08, allocations: 0.9041 MB / 0.9677 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0004795/1.081, allocations: 106.2 kB / 0.9678 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/1.081, allocations: 34.59 kB / 0.9679 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of SimCode: time 9.02e-07/1.081, allocations: 0 / 0.9679 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of Templates: time 0.0264/1.107, allocations: 8.505 MB / 0.9762 GB, free: 180.3 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)