Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h") translateModel(IBPSA.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001063/0.001063, allocations: 100 kB / 15.98 MB, free: 6.336 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.001129/0.001129, allocations: 200 kB / 16.91 MB, free: 6.18 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.437/1.437, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7949/0.7949, allocations: 122.9 MB / 413.6 MB, free: 15.98 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 59.91 kB / 0.4906 GB, free: 7.828 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5013/0.5028, allocations: 77.93 MB / 0.5667 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.PropertySource_h): time 0.2638/0.7666, allocations: 173.6 MB / 0.7362 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01134/0.7779, allocations: 8.628 MB / 0.7447 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008002/0.7788, allocations: 27.75 kB / 0.7447 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009686/0.7798, allocations: 250.4 kB / 0.7449 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009846/0.7808, allocations: 286.7 kB / 0.7452 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.782, allocations: 340.9 kB / 0.7455 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001502/0.7835, allocations: 1.152 MB / 0.7467 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009243/0.7845, allocations: 0.5568 MB / 0.7472 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3661/1.151, allocations: 1.988 MB / 0.7491 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006671/1.151, allocations: 374.3 kB / 0.7495 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001416/1.151, allocations: 40.97 kB / 0.7495 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002641/1.152, allocations: 82.78 kB / 0.7496 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002758/1.152, allocations: 258.8 kB / 0.7499 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003568/1.152, allocations: 286.5 kB / 0.7501 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006849/1.153, allocations: 0.608 MB / 0.7507 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/1.153, allocations: 0 / 0.7507 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.051e-06/1.153, allocations: 1.125 kB / 0.7507 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.78e-05/1.153, allocations: 0 / 0.7507 GB, free: 3.277 MB / 0.5762 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.001109/1.154, allocations: 0.8221 MB / 0.7515 GB, free: 18.78 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/1.154, allocations: 11.12 kB / 0.7515 GB, free: 18.78 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001601/1.154, allocations: 71.33 kB / 0.7516 GB, free: 18.75 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005043/1.155, allocations: 412.6 kB / 0.752 GB, free: 18.5 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.65e-05/1.155, allocations: 39.72 kB / 0.752 GB, free: 18.5 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.747e-05/1.155, allocations: 52.34 kB / 0.7521 GB, free: 18.5 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001129/1.156, allocations: 0.7054 MB / 0.7528 GB, free: 18.25 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.838e-05/1.156, allocations: 4.406 kB / 0.7528 GB, free: 18.25 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.156e-05/1.156, allocations: 26.48 kB / 0.7528 GB, free: 18.25 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-05/1.156, allocations: 36.47 kB / 0.7528 GB, free: 18.25 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007451/1.157, allocations: 379.2 kB / 0.7532 GB, free: 18.25 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003372/1.161, allocations: 3.222 MB / 0.7563 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002158/1.161, allocations: 217.2 kB / 0.7566 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001877/1.161, allocations: 129.2 kB / 0.7567 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/1.161, allocations: 5.422 kB / 0.7567 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/1.161, allocations: 51.45 kB / 0.7567 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 2.415e-06/1.161, allocations: 1.5 kB / 0.7567 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0007002/1.162, allocations: 248.4 kB / 0.757 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001292/1.162, allocations: 293 kB / 0.7573 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/1.163, allocations: 0.6845 MB / 0.7579 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/1.163, allocations: 27.86 kB / 0.7579 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002604/1.163, allocations: 271.9 kB / 0.7582 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.924e-05/1.163, allocations: 37.11 kB / 0.7582 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.407e-05/1.164, allocations: 32.14 kB / 0.7583 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002004/1.164, allocations: 370.7 kB / 0.7586 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/1.164, allocations: 38.14 kB / 0.7587 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002036/1.164, allocations: 94.67 kB / 0.7588 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002812/1.164, allocations: 126.7 kB / 0.7589 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.164, allocations: 5.125 kB / 0.7589 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004304/1.165, allocations: 183.4 kB / 0.7591 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/1.165, allocations: 10.05 kB / 0.7591 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/1.165, allocations: 4.719 kB / 0.7591 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/1.165, allocations: 2.469 kB / 0.7591 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002289/1.165, allocations: 46.16 kB / 0.7591 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/1.165, allocations: 2.844 kB / 0.7591 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000267/1.165, allocations: 61.59 kB / 0.7592 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.894e-05/1.165, allocations: 9.062 kB / 0.7592 GB, free: 14.31 MB / 0.5919 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.0002319/1.166, allocations: 204.6 kB / 0.7594 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002227/1.166, allocations: 64.5 kB / 0.7594 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/1.166, allocations: 61.53 kB / 0.7595 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/1.166, allocations: 3.812 kB / 0.7595 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/1.166, allocations: 2.625 kB / 0.7595 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/1.166, allocations: 4.094 kB / 0.7595 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001406/1.167, allocations: 1.301 MB / 0.7608 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/1.167, allocations: 3.594 kB / 0.7608 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001955/1.168, allocations: 45.95 kB / 0.7608 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/1.168, allocations: 2.438 kB / 0.7608 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/1.168, allocations: 4.531 kB / 0.7608 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/1.168, allocations: 4.766 kB / 0.7608 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.822e-06/1.168, allocations: 8.328 kB / 0.7608 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003945/1.168, allocations: 343.2 kB / 0.7612 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001524/1.168, allocations: 145.9 kB / 0.7613 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.381e-05/1.168, allocations: 6.359 kB / 0.7613 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/1.169, allocations: 15.23 kB / 0.7613 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.302e-05/1.169, allocations: 19.45 kB / 0.7614 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/1.169, allocations: 5.5 kB / 0.7614 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000564/1.169, allocations: 0.4943 MB / 0.7618 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/1.169, allocations: 2.188 kB / 0.7618 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004233/1.17, allocations: 87.91 kB / 0.7619 GB, free: 12.71 MB / 0.5919 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.0003083/1.17, allocations: 136.6 kB / 0.7621 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003108/1.17, allocations: 104 kB / 0.7622 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/1.17, allocations: 1.344 kB / 0.7622 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001414/1.17, allocations: 65.16 kB / 0.7622 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00137/1.172, allocations: 282.3 kB / 0.7625 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/1.173, allocations: 1.013 MB / 0.7635 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006375/1.174, allocations: 0.9034 MB / 0.7644 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003516/1.174, allocations: 108.9 kB / 0.7645 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.897e-05/1.174, allocations: 36.44 kB / 0.7645 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of SimCode: time 2.2e-07/1.174, allocations: 0.5312 kB / 0.7645 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of Templates: time 0.01733/1.192, allocations: 8.329 MB / 0.7726 GB, free: 11.09 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.sim & ./IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)