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.00183/0.00183, allocations: 107.6 kB / 18.95 MB, free: 2.809 MB / 14.72 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.002254/0.002254, allocations: 210.4 kB / 22.24 MB, free: 5.113 MB / 14.72 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.541/1.541, allocations: 230.6 MB / 256 MB, free: 7.828 MB / 206.1 MB " [Timeout remaining time 178] 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.002673/0.002673, allocations: 299.1 kB / 312.7 MB, free: 2.633 MB / 238.1 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 1.28/1.28, allocations: 180.6 MB / 0.5369 GB, free: 14.58 MB / 382.1 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002991/0.002991, allocations: 99.11 kB / 0.74 GB, free: 27.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.1929, allocations: 95.37 MB / 0.8331 GB, free: 7.867 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.2471/0.44, allocations: 147.8 MB / 0.9775 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.5294/0.9694, allocations: 5.991 MB / 0.9833 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004885/0.9699, allocations: 19.19 kB / 0.9833 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005464/0.9704, allocations: 173.1 kB / 0.9835 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002301/0.9727, allocations: 0.8477 MB / 0.9843 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009263/0.9737, allocations: 333 kB / 0.9846 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0009041/0.9746, allocations: 0.7283 MB / 0.9854 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003858/0.9749, allocations: 217.8 kB / 0.9856 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001289/0.9762, allocations: 0.5667 MB / 0.9861 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004843/0.9767, allocations: 271.2 kB / 0.9864 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.873e-05/0.9768, allocations: 22.91 kB / 0.9864 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007064/0.9775, allocations: 300.4 kB / 0.9867 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001668/0.9776, allocations: 111.1 kB / 0.9868 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001788/0.9778, allocations: 135.8 kB / 0.9869 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007636/0.9786, allocations: 475.8 kB / 0.9874 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.9786, allocations: 0.7812 kB / 0.9874 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.215e-06/0.9786, allocations: 0.6562 kB / 0.9874 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.709e-05/0.9786, allocations: 1.906 kB / 0.9874 GB, free: 3.883 MB / 0.7169 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.001052/0.9797, allocations: 0.5464 MB / 0.9879 GB, free: 19.5 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.9797, allocations: 12.75 kB / 0.9879 GB, free: 19.5 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003202/0.98, allocations: 61.89 kB / 0.988 GB, free: 19.48 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005417/0.9806, allocations: 263.5 kB / 0.9882 GB, free: 19.32 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.9806, allocations: 24.11 kB / 0.9883 GB, free: 19.32 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.153e-05/0.9806, allocations: 30.97 kB / 0.9883 GB, free: 19.32 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005329/0.9812, allocations: 319.6 kB / 0.9886 GB, free: 19.23 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.9812, allocations: 6.094 kB / 0.9886 GB, free: 19.23 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.488e-05/0.9812, allocations: 10.84 kB / 0.9886 GB, free: 19.23 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.9812, allocations: 6.875 kB / 0.9886 GB, free: 19.23 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003772/0.9816, allocations: 201.8 kB / 0.9888 GB, free: 19.23 MB / 0.7325 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.00137/0.983, allocations: 1.133 MB / 0.9899 GB, free: 18.48 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002627/0.9832, allocations: 109 kB / 0.99 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001634/0.9834, allocations: 90.33 kB / 0.9901 GB, free: 18.44 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004737/0.9839, allocations: 74.66 kB / 0.9902 GB, free: 18.44 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/0.9839, allocations: 38.56 kB / 0.9902 GB, free: 18.4 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.694e-06/0.9839, allocations: 0 / 0.9902 GB, free: 18.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0007007/0.9846, allocations: 268.8 kB / 0.9905 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.4e-05/0.9846, allocations: 52.38 kB / 0.9905 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002133/0.9849, allocations: 226.2 kB / 0.9907 GB, free: 18.19 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.033e-05/0.9849, allocations: 33.42 kB / 0.9908 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.985, allocations: 195.6 kB / 0.9909 GB, free: 18.03 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.13e-05/0.985, allocations: 45.22 kB / 0.991 GB, free: 18 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.11e-05/0.9851, allocations: 45.62 kB / 0.991 GB, free: 17.98 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.9853, allocations: 329.4 kB / 0.9914 GB, free: 17.67 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.9854, allocations: 60.5 kB / 0.9914 GB, free: 17.67 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002236/0.9856, allocations: 192 kB / 0.9916 GB, free: 17.53 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002909/0.9859, allocations: 171.6 kB / 0.9918 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.9859, allocations: 4.156 kB / 0.9918 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003856/0.9863, allocations: 213.9 kB / 0.992 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.9863, allocations: 6.109 kB / 0.992 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.9863, allocations: 4.156 kB / 0.992 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.9864, allocations: 0 / 0.992 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.9865, allocations: 37.14 kB / 0.992 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.9865, allocations: 3.203 kB / 0.992 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/0.9867, allocations: 19.66 kB / 0.992 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.554e-05/0.9867, allocations: 6.594 kB / 0.992 GB, free: 17.43 MB / 0.7325 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 0.0001731/0.9869, allocations: 153 kB / 0.9922 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.335e-05/0.9869, allocations: 28.22 kB / 0.9922 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004264/0.9874, allocations: 203 kB / 0.9924 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.9874, allocations: 0 / 0.9924 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.9874, allocations: 3.781 kB / 0.9924 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.9874, allocations: 0.9062 kB / 0.9924 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009828/0.9884, allocations: 0.5977 MB / 0.993 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.9884, allocations: 0 / 0.993 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001271/0.9885, allocations: 31.8 kB / 0.993 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.9885, allocations: 3.469 kB / 0.993 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.9885, allocations: 3.688 kB / 0.993 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.9885, allocations: 6.609 kB / 0.993 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.9885, allocations: 1.938 kB / 0.993 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004152/0.9889, allocations: 339 kB / 0.9934 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.816e-05/0.989, allocations: 39.89 kB / 0.9934 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.215e-05/0.989, allocations: 6.516 kB / 0.9934 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.9892, allocations: 9.062 kB / 0.9934 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.684e-05/0.9892, allocations: 20.58 kB / 0.9934 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.9892, allocations: 5.25 kB / 0.9934 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001362/0.9894, allocations: 167.9 kB / 0.9936 GB, free: 16.67 MB / 0.7325 GB Notification: Performance of sort global known variables: time 7e-08/0.9894, allocations: 1.094 kB / 0.9936 GB, free: 16.67 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004186/0.9898, allocations: 79.73 kB / 0.9937 GB, free: 16.66 MB / 0.7325 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.0002516/0.99, allocations: 136.2 kB / 0.9938 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003913/0.9904, allocations: 153.2 kB / 0.9939 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.9904, allocations: 3.859 kB / 0.994 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001622/0.9906, allocations: 81.41 kB / 0.994 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006238/0.9912, allocations: 91.03 kB / 0.9941 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007935/0.992, allocations: 0.5337 MB / 0.9946 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002139/0.9922, allocations: 173.9 kB / 0.9948 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001795/0.9924, allocations: 51.33 kB / 0.9949 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.768e-05/0.9925, allocations: 21.02 kB / 0.9949 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of SimCode: time 4.11e-07/0.9925, allocations: 0 / 0.9949 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of Templates: time 0.009815/1.002, allocations: 4.112 MB / 0.9989 GB, free: 15.91 MB / 0.7325 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.279846351593733] Failed to read output from testmodel.py, exit status != 0: 1.009796304628253 1.022046364 0.04090855 Calling exit ...