Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001963/0.001963, allocations: 80.45 kB / 19.96 MB, free: 4.605 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002925/0.002925, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.605/1.605, allocations: 177.1 MB / 203.5 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.107/3.107, allocations: 389.5 MB / 0.6343 GB, free: 12.61 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.624e-06/1.624e-06, allocations: 0 / 1.001 GB, free: 13.11 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.104e-05/3.266e-05, allocations: 5.797 kB / 1.001 GB, free: 13.1 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006571/0.006604, allocations: 3.894 MB / 1.005 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0002419/0.006846, allocations: 135.5 kB / 1.005 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.884e-05/0.006875, allocations: 0 / 1.005 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.000138/0.007013, allocations: 7.922 kB / 1.005 GB, free: 9.035 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.926e-05/0.007092, allocations: 19.86 kB / 1.005 GB, free: 9.016 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003746/0.007467, allocations: 83.11 kB / 1.005 GB, free: 8.938 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.007572, allocations: 39.84 kB / 1.005 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.565e-05/0.007617, allocations: 4 kB / 1.005 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.22e-05/0.007689, allocations: 19.92 kB / 1.005 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 8.648e-05/0.007776, allocations: 15.97 kB / 1.005 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.007793, allocations: 4 kB / 1.005 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000214/0.008007, allocations: 63.69 kB / 1.005 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.477e-05/0.008062, allocations: 7.984 kB / 1.005 GB, free: 8.785 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.912e-05/0.008091, allocations: 8 kB / 1.005 GB, free: 8.777 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000178/0.008269, allocations: 59.86 kB / 1.005 GB, free: 8.719 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.008273, allocations: 0 / 1.005 GB, free: 8.719 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.352e-06/0.008274, allocations: 3.938 kB / 1.005 GB, free: 8.715 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.008281, allocations: 0 / 1.005 GB, free: 8.715 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004777/0.008759, allocations: 262.3 kB / 1.006 GB, free: 8.43 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.008802, allocations: 9.344 kB / 1.006 GB, free: 8.422 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.669e-05/0.008848, allocations: 4.891 kB / 1.006 GB, free: 8.418 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.008969, allocations: 117.7 kB / 1.006 GB, free: 8.277 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.054e-05/0.009059, allocations: 51.97 kB / 1.006 GB, free: 8.215 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.358e-06/0.009069, allocations: 384 / 1.006 GB, free: 8.215 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.009234, allocations: 75.94 kB / 1.006 GB, free: 8.129 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.009242, allocations: 192 / 1.006 GB, free: 8.129 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.009255, allocations: 3.938 kB / 1.006 GB, free: 8.125 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.009274, allocations: 0 / 1.006 GB, free: 8.125 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.82e-05/0.009332, allocations: 19.98 kB / 1.006 GB, free: 8.105 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004533/0.009785, allocations: 200.6 kB / 1.006 GB, free: 7.879 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.52e-05/0.00984, allocations: 18.58 kB / 1.006 GB, free: 7.852 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.943e-05/0.00986, allocations: 12.8 kB / 1.006 GB, free: 7.836 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 6.003e-05/0.00992, allocations: 12.05 kB / 1.006 GB, free: 7.824 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.009955, allocations: 30.56 kB / 1.006 GB, free: 7.785 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.009956, allocations: 0 / 1.006 GB, free: 7.785 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0001551/0.01011, allocations: 37.64 kB / 1.006 GB, free: 7.742 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.01016, allocations: 51.41 kB / 1.006 GB, free: 7.68 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.01028, allocations: 109.8 kB / 1.006 GB, free: 7.562 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.0103, allocations: 25.7 kB / 1.006 GB, free: 7.531 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 8.777e-05/0.01039, allocations: 84.14 kB / 1.006 GB, free: 7.445 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.077e-05/0.0104, allocations: 8.016 kB / 1.006 GB, free: 7.438 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.973e-05/0.01044, allocations: 25.64 kB / 1.006 GB, free: 7.406 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001956/0.01064, allocations: 318.8 kB / 1.007 GB, free: 7.086 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.4e-05/0.01065, allocations: 0 / 1.007 GB, free: 7.086 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.244e-05/0.01068, allocations: 17.7 kB / 1.007 GB, free: 7.062 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.031e-05/0.01073, allocations: 29.66 kB / 1.007 GB, free: 7.027 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.01074, allocations: 0 / 1.007 GB, free: 7.027 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.153e-05/0.01082, allocations: 49.62 kB / 1.007 GB, free: 6.973 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.01084, allocations: 8 kB / 1.007 GB, free: 6.965 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.01084, allocations: 4.062 kB / 1.007 GB, free: 6.961 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.01085, allocations: 3.938 kB / 1.007 GB, free: 6.957 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.14e-05/0.0109, allocations: 4 kB / 1.007 GB, free: 6.953 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.607e-05/0.01092, allocations: 7.938 kB / 1.007 GB, free: 6.945 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.71e-05/0.01094, allocations: 0 / 1.007 GB, free: 6.945 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.01095, allocations: 0 / 1.007 GB, free: 6.945 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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.0001007/0.01105, allocations: 109.8 kB / 1.007 GB, free: 6.828 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.338e-05/0.01108, allocations: 11.88 kB / 1.007 GB, free: 6.816 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001478/0.01123, allocations: 121 kB / 1.007 GB, free: 6.691 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001074/0.01134, allocations: 184.2 kB / 1.007 GB, free: 6.504 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001005/0.01144, allocations: 180.3 kB / 1.007 GB, free: 6.32 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001025/0.01154, allocations: 180.2 kB / 1.008 GB, free: 6.137 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002784/0.01182, allocations: 356.8 kB / 1.008 GB, free: 5.75 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.399e-05/0.01187, allocations: 101 kB / 1.008 GB, free: 5.645 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.284e-05/0.01193, allocations: 112.9 kB / 1.008 GB, free: 5.527 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.633e-05/0.01203, allocations: 180.2 kB / 1.008 GB, free: 5.344 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.295e-05/0.01212, allocations: 176.3 kB / 1.008 GB, free: 5.164 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00011/0.01223, allocations: 188.2 kB / 1.009 GB, free: 4.973 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.611e-05/0.01233, allocations: 176.3 kB / 1.009 GB, free: 4.793 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002022/0.01253, allocations: 307.8 kB / 1.009 GB, free: 4.469 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.259e-05/0.01259, allocations: 108.9 kB / 1.009 GB, free: 4.355 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/0.01271, allocations: 188.2 kB / 1.009 GB, free: 4.164 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.01289, allocations: 109 kB / 1.01 GB, free: 4.051 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.013, allocations: 184.2 kB / 1.01 GB, free: 3.863 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.878e-05/0.01306, allocations: 101 kB / 1.01 GB, free: 3.758 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.551e-05/0.01312, allocations: 87.27 kB / 1.01 GB, free: 3.672 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.01312, allocations: 0 / 1.01 GB, free: 3.672 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002813/0.01341, allocations: 15.94 kB / 1.01 GB, free: 3.656 MB / 0.9636 GB 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 (0): * Single equations (assignments): 0 * 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.0002461/0.01365, allocations: 190.6 kB / 1.01 GB, free: 3.461 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 7.486e-05/0.01373, allocations: 15.94 kB / 1.01 GB, free: 3.445 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.01373, allocations: 0 / 1.01 GB, free: 3.445 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.163e-06/0.01373, allocations: 0 / 1.01 GB, free: 3.445 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005119/0.01424, allocations: 468 kB / 1.011 GB, free: 2.984 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003244/0.01457, allocations: 187.9 kB / 1.011 GB, free: 2.773 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.174e-05/0.01464, allocations: 63.28 kB / 1.011 GB, free: 2.691 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.803e-05/0.01469, allocations: 16.05 kB / 1.011 GB, free: 2.676 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.579e-05/0.01471, allocations: 8.5 kB / 1.011 GB, free: 2.668 MB / 0.9636 GB Notification: Performance of SimCode: time 4.61e-07/0.01471, allocations: 4 kB / 1.011 GB, free: 2.664 MB / 0.9636 GB Notification: Performance of Templates: time 0.003527/0.01824, allocations: 0.6576 MB / 1.011 GB, free: 2.02 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_13_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_13_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_13_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_13_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.93007641658187]