Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater") translateModel(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7951/0.7951, allocations: 143.4 MB / 159.2 MB, free: 4.871 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 188.5 kB / 191.9 MB, free: 5.734 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 222.9 MB / 447.3 MB, free: 5.875 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.00105, allocations: 110.6 kB / 0.517 GB, free: 3.719 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002029/0.002029, allocations: 277 kB / 0.5973 GB, free: 49.39 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 80.11 kB / 0.6885 GB, free: 3.867 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3684/0.3699, allocations: 81.29 MB / 0.7679 GB, free: 27.7 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002256/0.3722, allocations: 1.451 MB / 0.7693 GB, free: 26.23 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.002767/0.375, allocations: 2.908 MB / 0.7722 GB, free: 23.31 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.257e-05/0.3751, allocations: 3.938 kB / 0.7722 GB, free: 23.31 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 9.338e-05/0.3752, allocations: 3.984 kB / 0.7722 GB, free: 23.3 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.3753, allocations: 43.81 kB / 0.7722 GB, free: 23.26 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004337/0.3757, allocations: 159.3 kB / 0.7724 GB, free: 23.11 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.376, allocations: 339.3 kB / 0.7727 GB, free: 22.77 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.256e-05/0.376, allocations: 12 kB / 0.7727 GB, free: 22.76 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.231e-05/0.3761, allocations: 83.86 kB / 0.7728 GB, free: 22.68 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.3762, allocations: 139.7 kB / 0.7729 GB, free: 22.54 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 3.21e-05/0.3762, allocations: 12 kB / 0.7729 GB, free: 22.53 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003277/0.3766, allocations: 147.8 kB / 0.7731 GB, free: 22.39 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 7.873e-05/0.3767, allocations: 87.81 kB / 0.7731 GB, free: 22.3 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 7.68e-05/0.3767, allocations: 91.59 kB / 0.7732 GB, free: 22.21 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003402/0.3771, allocations: 270 kB / 0.7735 GB, free: 21.95 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3771, allocations: 0 / 0.7735 GB, free: 21.95 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3771, allocations: 0 / 0.7735 GB, free: 21.95 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.3771, allocations: 3.938 kB / 0.7735 GB, free: 21.95 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007322/0.3779, allocations: 0.534 MB / 0.774 GB, free: 21.36 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.3779, allocations: 8.031 kB / 0.774 GB, free: 21.36 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.378, allocations: 16.75 kB / 0.774 GB, free: 21.34 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/0.3782, allocations: 244 kB / 0.7743 GB, free: 21.06 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.654e-05/0.3783, allocations: 28.36 kB / 0.7743 GB, free: 21.04 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.723e-05/0.3783, allocations: 12.38 kB / 0.7743 GB, free: 21.02 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005266/0.3789, allocations: 297.2 kB / 0.7746 GB, free: 20.73 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.3789, allocations: 0 / 0.7746 GB, free: 20.73 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.3789, allocations: 8 kB / 0.7746 GB, free: 20.72 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.3789, allocations: 4 kB / 0.7746 GB, free: 20.71 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001259/0.3802, allocations: 0.7452 MB / 0.7753 GB, free: 19.97 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003182/0.3805, allocations: 305.1 kB / 0.7756 GB, free: 19.62 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00149/0.382, allocations: 0.6751 MB / 0.7763 GB, free: 18.94 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004337/0.3824, allocations: 228.7 kB / 0.7765 GB, free: 18.71 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003135/0.3828, allocations: 392.3 kB / 0.7769 GB, free: 18.25 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.3828, allocations: 46.42 kB / 0.7769 GB, free: 18.2 MB / 458.7 MB Notification: Performance of pre-optimization done (n=37): time 2.475e-06/0.3828, allocations: 0 / 0.7769 GB, free: 18.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=37): time 0.001422/0.3842, allocations: 0.6495 MB / 0.7775 GB, free: 17.54 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.3843, allocations: 63.34 kB / 0.7776 GB, free: 17.47 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.548e-05/0.3844, allocations: 126.1 kB / 0.7777 GB, free: 17.34 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.3844, allocations: 33.7 kB / 0.7778 GB, free: 17.3 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.301e-05/0.3844, allocations: 84.8 kB / 0.7778 GB, free: 17.21 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.304e-05/0.3845, allocations: 126.1 kB / 0.778 GB, free: 17.08 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.689e-05/0.3846, allocations: 65.69 kB / 0.778 GB, free: 17.01 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.251e-05/0.3847, allocations: 330.8 kB / 0.7783 GB, free: 16.68 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004103/0.3851, allocations: 191.8 kB / 0.7785 GB, free: 16.49 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004081/0.3855, allocations: 201 kB / 0.7787 GB, free: 16.3 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007914/0.3863, allocations: 364.7 kB / 0.7791 GB, free: 15.94 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3863, allocations: 0 / 0.7791 GB, free: 15.94 MB / 458.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000953/0.3873, allocations: 468.6 kB / 0.7795 GB, free: 15.47 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.3873, allocations: 5.562 kB / 0.7795 GB, free: 15.47 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.3874, allocations: 4 kB / 0.7795 GB, free: 15.46 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.3874, allocations: 4 kB / 0.7795 GB, free: 15.46 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003595/0.3878, allocations: 99.84 kB / 0.7796 GB, free: 15.36 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.3878, allocations: 0 / 0.7796 GB, free: 15.36 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001746/0.388, allocations: 55.66 kB / 0.7797 GB, free: 15.31 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.447e-05/0.388, allocations: 15.98 kB / 0.7797 GB, free: 15.29 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (37): * Single equations (assignments): 37 * 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 9.32e-05/0.3881, allocations: 143.6 kB / 0.7798 GB, free: 15.14 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.662e-05/0.3881, allocations: 19.75 kB / 0.7798 GB, free: 15.12 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/0.3892, allocations: 0.5173 MB / 0.7803 GB, free: 14.61 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/0.3892, allocations: 4 kB / 0.7804 GB, free: 14.61 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.3892, allocations: 0 / 0.7804 GB, free: 14.61 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.3892, allocations: 0 / 0.7804 GB, free: 14.61 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002183/0.3894, allocations: 313.2 kB / 0.7806 GB, free: 14.25 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3894, allocations: 0 / 0.7806 GB, free: 14.25 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003057/0.3897, allocations: 107.8 kB / 0.7808 GB, free: 14.15 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.3898, allocations: 0 / 0.7808 GB, free: 14.15 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.347e-05/0.3898, allocations: 15.98 kB / 0.7808 GB, free: 14.13 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.3898, allocations: 0 / 0.7808 GB, free: 14.13 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3898, allocations: 0 / 0.7808 GB, free: 14.13 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001506/0.3913, allocations: 1.314 MB / 0.7821 GB, free: 12.76 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.292e-05/0.3914, allocations: 96.8 kB / 0.7821 GB, free: 12.64 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.064e-05/0.3914, allocations: 8 kB / 0.7822 GB, free: 12.64 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.3916, allocations: 35.95 kB / 0.7822 GB, free: 12.6 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002001/0.3918, allocations: 119.7 kB / 0.7823 GB, free: 12.48 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/0.3918, allocations: 15.98 kB / 0.7823 GB, free: 12.47 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.114e-05/0.3918, allocations: 104.6 kB / 0.7824 GB, free: 12.37 MB / 458.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3918, allocations: 0 / 0.7824 GB, free: 12.37 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004186/0.3923, allocations: 119.9 kB / 0.7825 GB, free: 12.25 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (37): * Single equations (assignments): 37 * 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.000288/0.3926, allocations: 183.1 kB / 0.7827 GB, free: 12.06 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0009057/0.3935, allocations: 467.3 kB / 0.7831 GB, free: 11.61 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3935, allocations: 4 kB / 0.7832 GB, free: 11.6 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005096/0.394, allocations: 259.4 kB / 0.7834 GB, free: 11.35 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.3944, allocations: 81.41 kB / 0.7835 GB, free: 11.27 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000719/0.3951, allocations: 0.7019 MB / 0.7842 GB, free: 10.52 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.3953, allocations: 0.7409 MB / 0.7849 GB, free: 9.754 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003629/0.3956, allocations: 188.3 kB / 0.7851 GB, free: 9.598 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.273e-05/0.3957, allocations: 39.41 kB / 0.7851 GB, free: 9.559 MB / 458.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3957, allocations: 0 / 0.7851 GB, free: 9.559 MB / 458.7 MB Notification: Performance of Templates: time 0.006891/0.4026, allocations: 4.999 MB / 0.79 GB, free: 4.625 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile (rm -f BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1)