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.001468/0.001468, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001804/0.001804, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9729/0.9729, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.001732/0.001732, allocations: 237.5 kB / 261.3 MB, free: 12.66 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.7192/0.7192, allocations: 138.4 MB / 456.3 MB, free: 29.55 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.323e-06/1.323e-06, allocations: 0 / 0.5564 GB, free: 15.71 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.097e-05/1.229e-05, allocations: 2.312 kB / 0.5564 GB, free: 15.7 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.3751/0.3751, allocations: 143.9 MB / 0.6969 GB, free: 52.67 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001814/0.3769, allocations: 0.987 MB / 0.6979 GB, free: 52.55 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002485/0.3772, allocations: 20.69 kB / 0.6979 GB, free: 52.54 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0003305/0.3775, allocations: 94.2 kB / 0.698 GB, free: 52.5 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0008667/0.3783, allocations: 409.7 kB / 0.6984 GB, free: 52.4 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006985/0.379, allocations: 358 kB / 0.6987 GB, free: 52.38 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0007324/0.3798, allocations: 0.7112 MB / 0.6994 GB, free: 52.24 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003489/0.3801, allocations: 216.1 kB / 0.6996 GB, free: 52.24 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005343/0.3807, allocations: 386.1 kB / 0.7 GB, free: 52.19 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003289/0.381, allocations: 246.8 kB / 0.7002 GB, free: 52.17 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 4.259e-05/0.381, allocations: 27.44 kB / 0.7003 GB, free: 52.16 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003099/0.3813, allocations: 186 kB / 0.7004 GB, free: 52.15 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.3814, allocations: 118.9 kB / 0.7006 GB, free: 52.13 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.3816, allocations: 117.1 kB / 0.7007 GB, free: 52.11 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.00043/0.382, allocations: 341.9 kB / 0.701 GB, free: 52.06 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.382, allocations: 0 / 0.701 GB, free: 52.06 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.142e-06/0.382, allocations: 0 / 0.701 GB, free: 52.06 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.802e-06/0.382, allocations: 0 / 0.701 GB, free: 52.06 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.0005859/0.3826, allocations: 0.6535 MB / 0.7016 GB, free: 51.57 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.3826, allocations: 12.09 kB / 0.7016 GB, free: 51.57 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002805/0.3829, allocations: 92.95 kB / 0.7017 GB, free: 51.54 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003/0.3832, allocations: 270 kB / 0.702 GB, free: 51.37 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.3832, allocations: 19.22 kB / 0.702 GB, free: 51.37 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.573e-05/0.3833, allocations: 28.16 kB / 0.702 GB, free: 51.37 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002915/0.3836, allocations: 261.9 kB / 0.7023 GB, free: 51.23 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.3836, allocations: 7.469 kB / 0.7023 GB, free: 51.22 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/0.3836, allocations: 9.156 kB / 0.7023 GB, free: 51.22 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.3836, allocations: 5.906 kB / 0.7023 GB, free: 51.22 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.3837, allocations: 74 kB / 0.7024 GB, free: 51.21 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.0008376/0.3845, allocations: 1.385 MB / 0.7037 GB, free: 50.12 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.3846, allocations: 64.56 kB / 0.7038 GB, free: 50.08 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.339e-05/0.3847, allocations: 34.28 kB / 0.7038 GB, free: 50.07 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002193/0.3849, allocations: 51.47 kB / 0.7039 GB, free: 50.07 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.651e-05/0.3849, allocations: 34.52 kB / 0.7039 GB, free: 50.03 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=13): time 1.283e-06/0.3849, allocations: 4 kB / 0.7039 GB, free: 50.02 MB / 0.5573 GB Notification: Performance of matching and sorting (n=13): time 0.0003181/0.3852, allocations: 137.4 kB / 0.704 GB, free: 49.97 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.984e-05/0.3853, allocations: 53.06 kB / 0.7041 GB, free: 49.91 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.3854, allocations: 275.2 kB / 0.7043 GB, free: 49.74 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.3854, allocations: 25.7 kB / 0.7044 GB, free: 49.71 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 8.745e-05/0.3855, allocations: 251.4 kB / 0.7046 GB, free: 49.54 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.921e-05/0.3855, allocations: 43.89 kB / 0.7047 GB, free: 49.5 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.484e-05/0.3856, allocations: 48.25 kB / 0.7047 GB, free: 49.48 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 5.571e-05/0.3856, allocations: 0.5088 MB / 0.7052 GB, free: 48.98 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.07e-05/0.3857, allocations: 15.7 kB / 0.7052 GB, free: 48.98 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.195e-05/0.3857, allocations: 159.1 kB / 0.7054 GB, free: 48.81 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.197e-05/0.3858, allocations: 100.8 kB / 0.7055 GB, free: 48.73 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3858, allocations: 1.062 kB / 0.7055 GB, free: 48.73 MB / 0.5573 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001714/0.386, allocations: 125.2 kB / 0.7056 GB, free: 48.68 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.386, allocations: 8.953 kB / 0.7056 GB, free: 48.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.386, allocations: 2.172 kB / 0.7056 GB, free: 48.68 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.386, allocations: 2.5 kB / 0.7056 GB, free: 48.68 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.3861, allocations: 26.25 kB / 0.7056 GB, free: 48.68 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.3862, allocations: 11.03 kB / 0.7056 GB, free: 48.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.263e-05/0.3862, allocations: 13.42 kB / 0.7056 GB, free: 48.67 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.3863, allocations: 8.875 kB / 0.7057 GB, free: 48.67 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 6.843e-05/0.3863, allocations: 170.7 kB / 0.7058 GB, free: 48.5 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.3864, allocations: 28.2 kB / 0.7058 GB, free: 48.49 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001567/0.3865, allocations: 120.7 kB / 0.706 GB, free: 48.44 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.3865, allocations: 2.531 kB / 0.706 GB, free: 48.44 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.3865, allocations: 5.812 kB / 0.706 GB, free: 48.44 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3865, allocations: 0 / 0.706 GB, free: 48.44 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00046/0.387, allocations: 0.4967 MB / 0.7064 GB, free: 48.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.387, allocations: 2.844 kB / 0.7065 GB, free: 48.07 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.875e-05/0.3871, allocations: 32.53 kB / 0.7065 GB, free: 48.06 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.3871, allocations: 2.906 kB / 0.7065 GB, free: 48.06 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.3871, allocations: 10.06 kB / 0.7065 GB, free: 48.06 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.3871, allocations: 2.719 kB / 0.7065 GB, free: 48.06 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.3871, allocations: 5.641 kB / 0.7065 GB, free: 48.06 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001874/0.3873, allocations: 311.9 kB / 0.7068 GB, free: 47.78 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.303e-05/0.3873, allocations: 34.64 kB / 0.7068 GB, free: 47.76 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.3874, allocations: 8.984 kB / 0.7068 GB, free: 47.76 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.3875, allocations: 8.375 kB / 0.7068 GB, free: 47.76 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.124e-05/0.3875, allocations: 14.08 kB / 0.7069 GB, free: 47.75 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.3875, allocations: 7.406 kB / 0.7069 GB, free: 47.75 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 9.014e-05/0.3876, allocations: 188.5 kB / 0.7071 GB, free: 47.64 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9e-08/0.3876, allocations: 0 / 0.7071 GB, free: 47.64 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003813/0.388, allocations: 85.59 kB / 0.7071 GB, free: 47.62 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.0001934/0.3882, allocations: 132 kB / 0.7073 GB, free: 47.53 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001543/0.3883, allocations: 82.42 kB / 0.7073 GB, free: 47.5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3883, allocations: 1.188 kB / 0.7073 GB, free: 47.5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 5.537e-05/0.3884, allocations: 47.88 kB / 0.7074 GB, free: 47.48 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004886/0.3889, allocations: 95.88 kB / 0.7075 GB, free: 47.47 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000798/0.3897, allocations: 0.5145 MB / 0.708 GB, free: 47.11 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.368e-05/0.3898, allocations: 98.66 kB / 0.7081 GB, free: 47.04 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001042/0.3899, allocations: 30.91 kB / 0.7081 GB, free: 47.03 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001793/0.39, allocations: 143.3 kB / 0.7082 GB, free: 46.96 MB / 0.5573 GB Notification: Performance of SimCode: time 7.41e-07/0.39, allocations: 3.938 kB / 0.7082 GB, free: 46.96 MB / 0.5573 GB Notification: Performance of Templates: time 0.006894/0.3969, allocations: 4.116 MB / 0.7123 GB, free: 46.54 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.011633331887424]