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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 116.9 kB / 16.37 MB, free: 6.012 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.0009783/0.0009784, allocations: 194.4 kB / 17.31 MB, free: 5.613 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.256/1.256, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002033/0.002034, allocations: 288 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8922/0.8922, allocations: 169.2 MB / 0.4989 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001693/0.001693, allocations: 102.6 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1544, allocations: 86.97 MB / 0.6816 GB, free: 7.484 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.00228/0.1567, allocations: 1.375 MB / 0.6829 GB, free: 6.098 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003123/0.1598, allocations: 2.914 MB / 0.6858 GB, free: 3.168 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.833e-05/0.1599, allocations: 0 / 0.6858 GB, free: 3.168 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.224e-05/0.16, allocations: 7.922 kB / 0.6858 GB, free: 3.16 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.887e-05/0.1601, allocations: 35.81 kB / 0.6858 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004786/0.1606, allocations: 183.1 kB / 0.686 GB, free: 2.945 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002318/0.1608, allocations: 255.4 kB / 0.6862 GB, free: 2.695 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.542e-05/0.1609, allocations: 4 kB / 0.6862 GB, free: 2.691 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.525e-05/0.1609, allocations: 91.8 kB / 0.6863 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.1611, allocations: 123.8 kB / 0.6865 GB, free: 2.48 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.687e-05/0.1611, allocations: 8 kB / 0.6865 GB, free: 2.473 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003356/0.1614, allocations: 143.8 kB / 0.6866 GB, free: 2.332 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.317e-05/0.1615, allocations: 79.83 kB / 0.6867 GB, free: 2.254 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.915e-05/0.1616, allocations: 91.58 kB / 0.6868 GB, free: 2.164 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003185/0.162, allocations: 271.2 kB / 0.687 GB, free: 1.898 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.162, allocations: 7.922 kB / 0.687 GB, free: 1.891 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.162, allocations: 4 kB / 0.687 GB, free: 1.887 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.162, allocations: 0 / 0.687 GB, free: 1.887 MB / 494.1 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.000739/0.1627, allocations: 0.5297 MB / 0.6875 GB, free: 1.309 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.1628, allocations: 12.03 kB / 0.6876 GB, free: 1.297 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.1629, allocations: 20.75 kB / 0.6876 GB, free: 1.277 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.1632, allocations: 240.1 kB / 0.6878 GB, free: 1.004 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.309e-05/0.1632, allocations: 24.36 kB / 0.6878 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.798e-05/0.1632, allocations: 20.31 kB / 0.6879 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005848/0.1638, allocations: 290.5 kB / 0.6881 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.1639, allocations: 0 / 0.6881 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.1639, allocations: 8 kB / 0.6881 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.1639, allocations: 4 kB / 0.6881 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2547/0.4186, allocations: 0.7476 MB / 0.6889 GB, free: 18.67 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003686/0.419, allocations: 303.9 kB / 0.6892 GB, free: 18.48 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001523/0.4205, allocations: 0.6719 MB / 0.6898 GB, free: 18.46 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004588/0.421, allocations: 228.4 kB / 0.69 GB, free: 18.45 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003386/0.4214, allocations: 390.9 kB / 0.6904 GB, free: 18.07 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.4214, allocations: 43.42 kB / 0.6904 GB, free: 18.04 MB / 494.1 MB Notification: Performance of pre-optimization done (n=37): time 1.834e-06/0.4214, allocations: 0.5312 kB / 0.6904 GB, free: 18.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=37): time 0.001476/0.4229, allocations: 0.654 MB / 0.6911 GB, free: 18 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.4229, allocations: 60.25 kB / 0.6911 GB, free: 17.93 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.949e-05/0.423, allocations: 126.5 kB / 0.6913 GB, free: 17.84 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.423, allocations: 30.17 kB / 0.6913 GB, free: 17.8 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.471e-05/0.4231, allocations: 90.31 kB / 0.6914 GB, free: 17.72 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.698e-05/0.4231, allocations: 125.4 kB / 0.6915 GB, free: 17.66 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.405e-05/0.4232, allocations: 65.7 kB / 0.6916 GB, free: 17.64 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.967e-05/0.4233, allocations: 328.7 kB / 0.6919 GB, free: 17.33 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004509/0.4238, allocations: 192.8 kB / 0.6921 GB, free: 17.33 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000442/0.4242, allocations: 203.6 kB / 0.6923 GB, free: 17.31 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007968/0.425, allocations: 365.9 kB / 0.6926 GB, free: 17.24 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.425, allocations: 1.375 kB / 0.6926 GB, free: 17.24 MB / 494.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009643/0.426, allocations: 458.5 kB / 0.693 GB, free: 17.14 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.426, allocations: 8.812 kB / 0.6931 GB, free: 17.14 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-06/0.426, allocations: 2.031 kB / 0.6931 GB, free: 17.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.426, allocations: 5.031 kB / 0.6931 GB, free: 17.14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003444/0.4264, allocations: 96.08 kB / 0.6931 GB, free: 17.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.4264, allocations: 4.734 kB / 0.6932 GB, free: 17.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/0.4266, allocations: 52.86 kB / 0.6932 GB, free: 17.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.886e-05/0.4266, allocations: 11.81 kB / 0.6932 GB, free: 17.12 MB / 494.1 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.497e-05/0.4267, allocations: 143.6 kB / 0.6934 GB, free: 16.99 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.847e-05/0.4268, allocations: 16.72 kB / 0.6934 GB, free: 16.98 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001126/0.4279, allocations: 0.5234 MB / 0.6939 GB, free: 16.85 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.4279, allocations: 8.359 kB / 0.6939 GB, free: 16.85 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.4279, allocations: 2.062 kB / 0.6939 GB, free: 16.85 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.4279, allocations: 2.109 kB / 0.6939 GB, free: 16.85 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002663/0.4282, allocations: 308.3 kB / 0.6942 GB, free: 16.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.4282, allocations: 4.453 kB / 0.6942 GB, free: 16.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003145/0.4285, allocations: 104.4 kB / 0.6943 GB, free: 16.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.4285, allocations: 2.469 kB / 0.6943 GB, free: 16.61 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.72e-05/0.4286, allocations: 14.34 kB / 0.6943 GB, free: 16.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.4286, allocations: 4.625 kB / 0.6943 GB, free: 16.61 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.4286, allocations: 0.6562 kB / 0.6943 GB, free: 16.61 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.4296, allocations: 497.4 kB / 0.6948 GB, free: 16.47 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.032e-05/0.4296, allocations: 103.8 kB / 0.6949 GB, free: 16.36 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.165e-05/0.4297, allocations: 6.719 kB / 0.6949 GB, free: 16.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/0.4298, allocations: 38.08 kB / 0.6949 GB, free: 16.35 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002379/0.4301, allocations: 121.3 kB / 0.695 GB, free: 16.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.651e-05/0.4301, allocations: 13.42 kB / 0.6951 GB, free: 16.34 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.6e-05/0.4302, allocations: 100.9 kB / 0.6952 GB, free: 16.25 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4302, allocations: 0 / 0.6952 GB, free: 16.25 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003624/0.4305, allocations: 117.8 kB / 0.6953 GB, free: 16.24 MB / 494.1 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.0002811/0.4308, allocations: 184.2 kB / 0.6954 GB, free: 16.13 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001075/0.4319, allocations: 483.8 kB / 0.6959 GB, free: 16.05 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4319, allocations: 0 / 0.6959 GB, free: 16.05 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005183/0.4324, allocations: 260.2 kB / 0.6961 GB, free: 16 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003722/0.4328, allocations: 71.83 kB / 0.6962 GB, free: 15.98 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006812/0.4335, allocations: 430.7 kB / 0.6966 GB, free: 15.79 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001621/0.4337, allocations: 0.7345 MB / 0.6973 GB, free: 15.09 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004395/0.4341, allocations: 185.7 kB / 0.6975 GB, free: 15.07 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.4342, allocations: 41.77 kB / 0.6976 GB, free: 15.06 MB / 494.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4342, allocations: 0 / 0.6976 GB, free: 15.06 MB / 494.1 MB Notification: Performance of Templates: time 0.01028/0.4445, allocations: 5.274 MB / 0.7027 GB, free: 14.67 MB / 494.1 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1)