Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.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.0009494/0.0009494, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0008958/0.0008958, allocations: 169 kB / 23.27 MB, free: 1.223 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 0.9505/0.9505, allocations: 177.2 MB / 203.7 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001683/0.001683, allocations: 249.2 kB / 260.5 MB, free: 12.68 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7951/0.7951, allocations: 138.4 MB / 455.5 MB, free: 30.08 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 0.5556 GB, free: 15.89 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.414e-05/2.597e-05, allocations: 5.969 kB / 0.5556 GB, free: 15.89 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.3688/0.3688, allocations: 143.9 MB / 0.6962 GB, free: 51.89 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001713/0.3706, allocations: 0.9812 MB / 0.6971 GB, free: 51.77 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000241/0.3708, allocations: 21.31 kB / 0.6971 GB, free: 51.75 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0003158/0.3711, allocations: 95.83 kB / 0.6972 GB, free: 51.71 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0008774/0.372, allocations: 412.2 kB / 0.6976 GB, free: 51.61 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007214/0.3727, allocations: 349.7 kB / 0.698 GB, free: 51.6 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0007731/0.3735, allocations: 0.7129 MB / 0.6987 GB, free: 51.46 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003728/0.3739, allocations: 221.6 kB / 0.6989 GB, free: 51.45 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005742/0.3744, allocations: 386 kB / 0.6992 GB, free: 51.41 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003133/0.3747, allocations: 243.2 kB / 0.6995 GB, free: 51.39 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 4.153e-05/0.3748, allocations: 22.59 kB / 0.6995 GB, free: 51.39 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003347/0.3751, allocations: 187.3 kB / 0.6997 GB, free: 51.37 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.3752, allocations: 118.6 kB / 0.6998 GB, free: 51.35 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.3753, allocations: 116 kB / 0.6999 GB, free: 51.34 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0004345/0.3758, allocations: 347.4 kB / 0.7002 GB, free: 51.28 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3758, allocations: 6.812 kB / 0.7002 GB, free: 51.28 MB / 0.5573 GB Notification: Performance of FrontEnd: time 9.62e-07/0.3758, allocations: 0 / 0.7002 GB, free: 51.28 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.3758, allocations: 0 / 0.7002 GB, free: 51.28 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0006178/0.3764, allocations: 0.6461 MB / 0.7009 GB, free: 50.79 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.3764, allocations: 11.75 kB / 0.7009 GB, free: 50.79 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002836/0.3767, allocations: 89.62 kB / 0.701 GB, free: 50.77 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003242/0.377, allocations: 275.3 kB / 0.7012 GB, free: 50.59 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.544e-05/0.3771, allocations: 23.12 kB / 0.7012 GB, free: 50.59 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.02e-05/0.3771, allocations: 24.41 kB / 0.7013 GB, free: 50.59 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003015/0.3774, allocations: 264 kB / 0.7015 GB, free: 50.44 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.3774, allocations: 1.094 kB / 0.7015 GB, free: 50.44 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/0.3774, allocations: 12.41 kB / 0.7015 GB, free: 50.44 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.3774, allocations: 14.77 kB / 0.7015 GB, free: 50.43 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.3776, allocations: 72.86 kB / 0.7016 GB, free: 50.42 MB / 0.5573 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008745/0.3784, allocations: 1.373 MB / 0.703 GB, free: 49.34 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.3785, allocations: 65.86 kB / 0.703 GB, free: 49.3 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.164e-05/0.3786, allocations: 38.77 kB / 0.7031 GB, free: 49.29 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002264/0.3788, allocations: 51.94 kB / 0.7031 GB, free: 49.29 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.643e-05/0.3788, allocations: 40.84 kB / 0.7031 GB, free: 49.24 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=13): time 1.763e-06/0.3788, allocations: 0 / 0.7031 GB, free: 49.24 MB / 0.5573 GB Notification: Performance of matching and sorting (n=13): time 0.000328/0.3791, allocations: 136.8 kB / 0.7033 GB, free: 49.2 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.811e-05/0.3792, allocations: 57.66 kB / 0.7033 GB, free: 49.13 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.3793, allocations: 269.3 kB / 0.7036 GB, free: 48.96 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.3793, allocations: 29.86 kB / 0.7036 GB, free: 48.93 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 8.815e-05/0.3794, allocations: 245.2 kB / 0.7038 GB, free: 48.75 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.3794, allocations: 52.62 kB / 0.7039 GB, free: 48.72 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.977e-05/0.3795, allocations: 41.45 kB / 0.7039 GB, free: 48.7 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6.795e-05/0.3796, allocations: 0.5126 MB / 0.7044 GB, free: 48.2 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.355e-05/0.3796, allocations: 12.25 kB / 0.7044 GB, free: 48.2 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.977e-05/0.3797, allocations: 160.5 kB / 0.7046 GB, free: 48.03 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.3798, allocations: 104.9 kB / 0.7047 GB, free: 47.95 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.3798, allocations: 0 / 0.7047 GB, free: 47.95 MB / 0.5573 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001798/0.38, allocations: 122.4 kB / 0.7048 GB, free: 47.9 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.38, allocations: 6.5 kB / 0.7048 GB, free: 47.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.38, allocations: 1.312 kB / 0.7048 GB, free: 47.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.38, allocations: 5.156 kB / 0.7048 GB, free: 47.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.3801, allocations: 34.86 kB / 0.7049 GB, free: 47.89 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.3801, allocations: 2.797 kB / 0.7049 GB, free: 47.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.275e-05/0.3802, allocations: 15.47 kB / 0.7049 GB, free: 47.89 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.014e-05/0.3802, allocations: 9.594 kB / 0.7049 GB, free: 47.89 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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 7.386e-05/0.3803, allocations: 175.1 kB / 0.7051 GB, free: 47.72 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.865e-05/0.3803, allocations: 25.14 kB / 0.7051 GB, free: 47.71 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001655/0.3805, allocations: 113.5 kB / 0.7052 GB, free: 47.66 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.3805, allocations: 1.125 kB / 0.7052 GB, free: 47.66 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.3805, allocations: 7.797 kB / 0.7052 GB, free: 47.66 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3805, allocations: 4.031 kB / 0.7052 GB, free: 47.66 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004865/0.381, allocations: 0.5018 MB / 0.7057 GB, free: 47.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.381, allocations: 1.188 kB / 0.7057 GB, free: 47.29 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.747e-05/0.3811, allocations: 28.78 kB / 0.7057 GB, free: 47.28 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.3811, allocations: 2.531 kB / 0.7057 GB, free: 47.28 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.3811, allocations: 8.031 kB / 0.7057 GB, free: 47.28 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.3811, allocations: 2.594 kB / 0.7057 GB, free: 47.28 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/0.3811, allocations: 6.375 kB / 0.7057 GB, free: 47.27 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001709/0.3813, allocations: 317 kB / 0.706 GB, free: 46.99 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.356e-05/0.3813, allocations: 34.05 kB / 0.7061 GB, free: 46.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.3813, allocations: 12.98 kB / 0.7061 GB, free: 46.97 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.09e-05/0.3814, allocations: 4.219 kB / 0.7061 GB, free: 46.97 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.724e-05/0.3814, allocations: 17.58 kB / 0.7061 GB, free: 46.97 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.3814, allocations: 4.781 kB / 0.7061 GB, free: 46.97 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 6.712e-05/0.3815, allocations: 186.8 kB / 0.7063 GB, free: 46.85 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.3815, allocations: 0 / 0.7063 GB, free: 46.85 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002773/0.3818, allocations: 88.31 kB / 0.7064 GB, free: 46.83 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (13): * Single equations (assignments): 13 * 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.0001658/0.3819, allocations: 128.7 kB / 0.7065 GB, free: 46.74 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001261/0.3821, allocations: 79.41 kB / 0.7066 GB, free: 46.72 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3821, allocations: 0 / 0.7066 GB, free: 46.72 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.437e-05/0.3821, allocations: 51.41 kB / 0.7066 GB, free: 46.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000381/0.3825, allocations: 94.42 kB / 0.7067 GB, free: 46.69 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007322/0.3832, allocations: 0.5233 MB / 0.7072 GB, free: 46.32 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.425e-05/0.3833, allocations: 96.64 kB / 0.7073 GB, free: 46.25 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 9.124e-05/0.3834, allocations: 26.47 kB / 0.7073 GB, free: 46.25 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.3835, allocations: 144.5 kB / 0.7075 GB, free: 46.18 MB / 0.5573 GB Notification: Performance of SimCode: time 7.32e-07/0.3835, allocations: 3.938 kB / 0.7075 GB, free: 46.17 MB / 0.5573 GB Notification: Performance of Templates: time 0.006376/0.3899, allocations: 4.072 MB / 0.7115 GB, free: 45.76 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.117760353256017]