Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation") translateModel(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 1.002/1.002, allocations: 127.3 MB / 139.8 MB, free: 15.43 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001402/0.001402, allocations: 196.7 kB / 169.7 MB, free: 1.723 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.502/1.502, allocations: 205.1 MB / 404.5 MB, free: 1.656 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008489/0.0008489, allocations: 96.23 kB / 481.8 MB, free: 4.297 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.306e-05/3.309e-05, allocations: 4 kB / 0.5532 GB, free: 54.84 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1518, allocations: 76.75 MB / 0.6282 GB, free: 10.02 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.076/1.228, allocations: 311.9 MB / 0.9327 GB, free: 222.4 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/1.228, allocations: 83.95 kB / 0.9328 GB, free: 222.3 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.1161/1.344, allocations: 66.38 MB / 0.9976 GB, free: 155.5 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.573e-06/1.344, allocations: 0 / 0.9976 GB, free: 155.5 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.981e-05/1.344, allocations: 11.98 kB / 0.9976 GB, free: 155.5 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008672/1.345, allocations: 0.5847 MB / 0.9982 GB, free: 154.9 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/1.345, allocations: 8.031 kB / 0.9982 GB, free: 154.8 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006061/1.346, allocations: 71.56 kB / 0.9983 GB, free: 154.8 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003527/1.346, allocations: 274.5 kB / 0.9985 GB, free: 154.5 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/1.346, allocations: 20.56 kB / 0.9986 GB, free: 154.4 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.196e-05/1.346, allocations: 24 kB / 0.9986 GB, free: 154.4 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004636/1.347, allocations: 322.3 kB / 0.9989 GB, free: 154.1 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/1.347, allocations: 3.938 kB / 0.9989 GB, free: 154.1 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.413e-05/1.347, allocations: 12 kB / 0.9989 GB, free: 154.1 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/1.347, allocations: 11.95 kB / 0.9989 GB, free: 154.1 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003183/1.347, allocations: 197.6 kB / 0.9991 GB, free: 153.9 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00159/1.349, allocations: 1.687 MB / 1.001 GB, free: 152 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002598/1.349, allocations: 179.1 kB / 1.001 GB, free: 151.9 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/1.349, allocations: 81.17 kB / 1.001 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/1.349, allocations: 4.188 kB / 1.001 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/1.349, allocations: 42.75 kB / 1.001 GB, free: 151.7 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=21): time 2.795e-06/1.349, allocations: 0 / 1.001 GB, free: 151.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=27): time 0.002256/1.351, allocations: 0.8955 MB / 1.002 GB, free: 150.8 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/1.351, allocations: 55.41 kB / 1.002 GB, free: 150.7 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002337/1.352, allocations: 246.7 kB / 1.002 GB, free: 150.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/1.352, allocations: 29.7 kB / 1.002 GB, free: 150.4 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.746e-05/1.352, allocations: 172 kB / 1.002 GB, free: 150.2 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.071e-05/1.352, allocations: 98.62 kB / 1.002 GB, free: 150.2 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.649e-05/1.352, allocations: 12 kB / 1.003 GB, free: 150.1 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.772e-05/1.352, allocations: 334.8 kB / 1.003 GB, free: 149.8 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/1.352, allocations: 91.78 kB / 1.003 GB, free: 149.7 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001678/1.352, allocations: 169.1 kB / 1.003 GB, free: 149.5 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/1.352, allocations: 115.9 kB / 1.003 GB, free: 149.4 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/1.352, allocations: 4 kB / 1.003 GB, free: 149.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008027/1.353, allocations: 421.7 kB / 1.004 GB, free: 149 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/1.353, allocations: 12.3 kB / 1.004 GB, free: 149 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/1.353, allocations: 4 kB / 1.004 GB, free: 149 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004892/1.354, allocations: 120.8 kB / 1.004 GB, free: 148.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002988/1.354, allocations: 63.89 kB / 1.004 GB, free: 148.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002298/1.356, allocations: 1.987 MB / 1.006 GB, free: 146.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004044/1.357, allocations: 32.03 kB / 1.006 GB, free: 146.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-05/1.357, allocations: 16 kB / 1.006 GB, free: 146.6 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 8} Notification: Performance of prepare postOptimizeDAE: time 9.938e-05/1.357, allocations: 120.9 kB / 1.006 GB, free: 146.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.805e-05/1.357, allocations: 31.62 kB / 1.006 GB, free: 146.5 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.186e-05/1.357, allocations: 34.86 kB / 1.006 GB, free: 146.4 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/1.357, allocations: 4 kB / 1.006 GB, free: 146.4 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/1.357, allocations: 0 / 1.006 GB, free: 146.4 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007644/1.358, allocations: 0.6098 MB / 1.007 GB, free: 145.7 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/1.359, allocations: 0.7927 MB / 1.007 GB, free: 144.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/1.359, allocations: 4 kB / 1.007 GB, free: 144.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/1.359, allocations: 44.09 kB / 1.007 GB, free: 144.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005544/1.36, allocations: 128.7 kB / 1.007 GB, free: 144.7 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.41e-05/1.36, allocations: 8 kB / 1.007 GB, free: 144.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001922/1.362, allocations: 1.901 MB / 1.009 GB, free: 142.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/1.362, allocations: 8.078 kB / 1.009 GB, free: 142.6 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008805/1.363, allocations: 0.5728 MB / 1.01 GB, free: 142 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.546e-05/1.363, allocations: 108.8 kB / 1.01 GB, free: 141.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.222e-05/1.363, allocations: 8 kB / 1.01 GB, free: 141.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002932/1.363, allocations: 20.05 kB / 1.01 GB, free: 141.8 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.915e-05/1.363, allocations: 23.92 kB / 1.01 GB, free: 141.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.649e-05/1.363, allocations: 15.98 kB / 1.01 GB, free: 141.8 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001901/1.363, allocations: 183.1 kB / 1.01 GB, free: 141.6 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.7e-07/1.363, allocations: 0 / 1.01 GB, free: 141.6 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006386/1.364, allocations: 108 kB / 1.01 GB, free: 141.5 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002917/1.364, allocations: 181.7 kB / 1.011 GB, free: 141.3 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000656/1.365, allocations: 398 kB / 1.011 GB, free: 140.9 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/1.365, allocations: 0 / 1.011 GB, free: 140.9 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004915/1.366, allocations: 275.8 kB / 1.011 GB, free: 140.7 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008149/1.366, allocations: 153 kB / 1.011 GB, free: 140.5 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008366/1.367, allocations: 455.3 kB / 1.012 GB, free: 140 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001977/1.367, allocations: 0.7764 MB / 1.013 GB, free: 139.2 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002814/1.368, allocations: 54.94 kB / 1.013 GB, free: 139.2 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.434e-05/1.368, allocations: 27.44 kB / 1.013 GB, free: 139.1 MB / 0.6355 GB Notification: Performance of SimCode: time 3.71e-07/1.368, allocations: 0 / 1.013 GB, free: 139.1 MB / 0.6355 GB Notification: Performance of Templates: time 0.01085/1.379, allocations: 7.063 MB / 1.019 GB, free: 132.1 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.pipe 2>&1)