Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.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.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties") translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties") 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: 105.9 kB / 16.27 MB, free: 6.348 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.000967/0.000967, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.233/1.233, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00198/0.00198, allocations: 285.7 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8938/0.8938, allocations: 169.3 MB / 0.4988 GB, free: 4.52 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001867, allocations: 95.22 kB / 0.5959 GB, free: 15.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1576, allocations: 86.98 MB / 0.6808 GB, free: 8.188 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties): time 0.00524/0.1629, allocations: 4.427 MB / 0.6851 GB, free: 3.73 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002408/0.1653, allocations: 2.683 MB / 0.6878 GB, free: 1.039 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.534e-05/0.1654, allocations: 3.938 kB / 0.6878 GB, free: 1.035 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002368/0.1657, allocations: 39.75 kB / 0.6878 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002285/0.1659, allocations: 99.34 kB / 0.6879 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009569/0.1669, allocations: 0.4893 MB / 0.6884 GB, free: 420 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002308/0.1671, allocations: 243.9 kB / 0.6886 GB, free: 176 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.571e-05/0.1672, allocations: 9.562 kB / 0.6886 GB, free: 164 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.263/0.4302, allocations: 410.5 kB / 0.689 GB, free: 12.54 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001698/0.4304, allocations: 90.48 kB / 0.6891 GB, free: 12.54 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.669e-05/0.4304, allocations: 7.25 kB / 0.6891 GB, free: 12.54 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001078/0.4315, allocations: 490.3 kB / 0.6896 GB, free: 12.54 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.035e-05/0.4316, allocations: 38.19 kB / 0.6896 GB, free: 12.54 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.856e-05/0.4317, allocations: 78.67 kB / 0.6897 GB, free: 12.54 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000563/0.4323, allocations: 349.9 kB / 0.69 GB, free: 12.52 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.4323, allocations: 0.75 kB / 0.69 GB, free: 12.52 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.4323, allocations: 1.5 kB / 0.69 GB, free: 12.52 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.4323, allocations: 1.438 kB / 0.69 GB, free: 12.52 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006156/0.4329, allocations: 0.4998 MB / 0.6905 GB, free: 12.1 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.433, allocations: 9.734 kB / 0.6905 GB, free: 12.1 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001587/0.4331, allocations: 22.19 kB / 0.6905 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.4333, allocations: 215.7 kB / 0.6908 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.4333, allocations: 11.08 kB / 0.6908 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.4333, allocations: 17.56 kB / 0.6908 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003495/0.4337, allocations: 250.3 kB / 0.691 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.4337, allocations: 1.344 kB / 0.691 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.04e-05/0.4337, allocations: 5.281 kB / 0.691 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.308e-05/0.4338, allocations: 8.922 kB / 0.691 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005037/0.4343, allocations: 433.1 kB / 0.6914 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008319/0.4351, allocations: 1.001 MB / 0.6924 GB, free: 10.98 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002576/0.4354, allocations: 159.7 kB / 0.6926 GB, free: 10.95 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.437e-05/0.4355, allocations: 65.55 kB / 0.6926 GB, free: 10.95 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008784/0.4364, allocations: 1.823 MB / 0.6944 GB, free: 8.953 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.4364, allocations: 38.23 kB / 0.6945 GB, free: 8.914 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.4364, allocations: 0 / 0.6945 GB, free: 8.914 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003023/0.4367, allocations: 143.1 kB / 0.6946 GB, free: 8.871 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.581e-05/0.4368, allocations: 63.72 kB / 0.6947 GB, free: 8.805 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.4369, allocations: 166 kB / 0.6948 GB, free: 8.699 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.4369, allocations: 27.61 kB / 0.6948 GB, free: 8.668 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.593e-05/0.437, allocations: 144.8 kB / 0.695 GB, free: 8.547 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.881e-05/0.437, allocations: 58.47 kB / 0.695 GB, free: 8.508 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.14e-05/0.4371, allocations: 54.88 kB / 0.6951 GB, free: 8.488 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.654e-05/0.4371, allocations: 322.5 kB / 0.6954 GB, free: 8.176 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.765e-05/0.4372, allocations: 37.77 kB / 0.6954 GB, free: 8.172 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.4373, allocations: 139 kB / 0.6956 GB, free: 8.043 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001829/0.4375, allocations: 201.1 kB / 0.6957 GB, free: 7.91 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.4375, allocations: 2.062 kB / 0.6958 GB, free: 7.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000314/0.4378, allocations: 211.5 kB / 0.696 GB, free: 7.867 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.4378, allocations: 9.5 kB / 0.696 GB, free: 7.867 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.4379, allocations: 4.062 kB / 0.696 GB, free: 7.867 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.4379, allocations: 5 kB / 0.696 GB, free: 7.867 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.438, allocations: 55.64 kB / 0.696 GB, free: 7.867 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.4381, allocations: 14.31 kB / 0.696 GB, free: 7.863 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.95e-05/0.4382, allocations: 30.58 kB / 0.6961 GB, free: 7.848 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.4382, allocations: 16.12 kB / 0.6961 GB, free: 7.848 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 7.496e-05/0.4383, allocations: 131.2 kB / 0.6962 GB, free: 7.73 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.667e-05/0.4383, allocations: 15.69 kB / 0.6962 GB, free: 7.723 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002795/0.4386, allocations: 157.8 kB / 0.6964 GB, free: 7.684 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.4386, allocations: 2.375 kB / 0.6964 GB, free: 7.684 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.4386, allocations: 4.938 kB / 0.6964 GB, free: 7.68 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.4386, allocations: 0.6562 kB / 0.6964 GB, free: 7.68 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/0.4388, allocations: 221 kB / 0.6966 GB, free: 7.484 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.4388, allocations: 0.875 kB / 0.6966 GB, free: 7.484 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.435e-05/0.4389, allocations: 22.25 kB / 0.6966 GB, free: 7.484 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.4389, allocations: 6.25 kB / 0.6966 GB, free: 7.48 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.439, allocations: 6.109 kB / 0.6966 GB, free: 7.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.439, allocations: 1.406 kB / 0.6966 GB, free: 7.48 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.439, allocations: 3.938 kB / 0.6966 GB, free: 7.477 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001956/0.4392, allocations: 221.8 kB / 0.6968 GB, free: 7.34 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.582e-05/0.4392, allocations: 106.3 kB / 0.6969 GB, free: 7.238 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.531e-05/0.4393, allocations: 4.703 kB / 0.6969 GB, free: 7.238 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/0.4395, allocations: 23.98 kB / 0.697 GB, free: 7.23 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.53e-05/0.4395, allocations: 14.53 kB / 0.697 GB, free: 7.227 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.4395, allocations: 10.34 kB / 0.697 GB, free: 7.227 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.012e-05/0.4396, allocations: 122.4 kB / 0.6971 GB, free: 7.152 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4396, allocations: 0 / 0.6971 GB, free: 7.152 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003667/0.44, allocations: 83.77 kB / 0.6972 GB, free: 7.141 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0002717/0.4403, allocations: 184.1 kB / 0.6974 GB, free: 7.035 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002298/0.4405, allocations: 116.9 kB / 0.6975 GB, free: 7.035 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4405, allocations: 0 / 0.6975 GB, free: 7.035 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.543e-05/0.4406, allocations: 51.95 kB / 0.6975 GB, free: 7.031 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004108/0.441, allocations: 48.03 kB / 0.6976 GB, free: 7.027 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00061/0.4416, allocations: 371 kB / 0.6979 GB, free: 6.812 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001507/0.4418, allocations: 0.7147 MB / 0.6986 GB, free: 6.113 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.907e-05/0.4418, allocations: 31.53 kB / 0.6987 GB, free: 6.109 MB / 494.1 MB Notification: Performance of SimCode: time 7.81e-07/0.4418, allocations: 0 / 0.6987 GB, free: 6.109 MB / 494.1 MB Notification: Performance of Templates: time 0.005334/0.4472, allocations: 3.146 MB / 0.7017 GB, free: 5.758 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.sim & ./BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)