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.001375/0.001375, allocations: 78.19 kB / 19 MB, free: 2.867 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.00153/0.00153, allocations: 163.7 kB / 22.26 MB, free: 5.133 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.457/1.457, allocations: 177.2 MB / 202.6 MB, free: 9.285 MB / 190.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.002443/0.002443, allocations: 235.9 kB / 259.2 MB, free: 0.5938 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.06/1.06, allocations: 138.5 MB / 454.2 MB, free: 2.031 MB / 366.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.003/0.003, allocations: 103.8 kB / 0.6466 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4123/0.4153, allocations: 95.35 MB / 0.7397 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1937/0.609, allocations: 147.7 MB / 0.884 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008157/0.6171, allocations: 5.986 MB / 0.8898 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004393/0.6176, allocations: 19.81 kB / 0.8898 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005867/0.6182, allocations: 182.7 kB / 0.89 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002276/0.6204, allocations: 0.8402 MB / 0.8908 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.6214, allocations: 342.9 kB / 0.8912 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000897/0.6223, allocations: 0.7253 MB / 0.8919 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003839/0.6227, allocations: 212 kB / 0.8921 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001234/0.624, allocations: 0.6658 MB / 0.8927 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004303/0.6244, allocations: 278.9 kB / 0.893 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.085e-05/0.6244, allocations: 20 kB / 0.893 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006499/0.6251, allocations: 299.2 kB / 0.8933 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001528/0.6252, allocations: 111.6 kB / 0.8934 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001629/0.6254, allocations: 143.3 kB / 0.8935 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006631/0.6261, allocations: 467.5 kB / 0.894 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.6261, allocations: 0 / 0.894 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.303e-06/0.6261, allocations: 0 / 0.894 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.168e-05/0.6261, allocations: 0 / 0.894 GB, free: 0.6328 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.0008854/0.627, allocations: 0.5477 MB / 0.8945 GB, free: 56 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.627, allocations: 9.344 kB / 0.8945 GB, free: 48 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003114/0.6273, allocations: 75.7 kB / 0.8946 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005251/0.6278, allocations: 264 kB / 0.8949 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/0.6278, allocations: 16.66 kB / 0.8949 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.281e-05/0.6279, allocations: 32 kB / 0.8949 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005672/0.6285, allocations: 313 kB / 0.8952 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.6285, allocations: 4 kB / 0.8952 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.6285, allocations: 8 kB / 0.8952 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.6286, allocations: 8 kB / 0.8952 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004805/0.629, allocations: 209.7 kB / 0.8954 GB, free: 15.09 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.001434/0.6305, allocations: 1.125 MB / 0.8965 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000278/0.6307, allocations: 110.5 kB / 0.8966 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001819/0.6309, allocations: 84.73 kB / 0.8967 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005037/0.6314, allocations: 79.86 kB / 0.8968 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.6315, allocations: 30.56 kB / 0.8968 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.6315, allocations: 0 / 0.8968 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.000807/0.6323, allocations: 273.6 kB / 0.8971 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.6323, allocations: 55.41 kB / 0.8971 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002563/0.6326, allocations: 225.9 kB / 0.8973 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.173e-05/0.6326, allocations: 33.7 kB / 0.8974 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002289/0.6328, allocations: 200.1 kB / 0.8976 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.024e-05/0.6329, allocations: 43.58 kB / 0.8976 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.868e-05/0.6329, allocations: 41.64 kB / 0.8976 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002181/0.6332, allocations: 334.8 kB / 0.898 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.6333, allocations: 59.95 kB / 0.898 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002656/0.6336, allocations: 190.2 kB / 0.8982 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003453/0.6339, allocations: 176.9 kB / 0.8984 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.6339, allocations: 0 / 0.8984 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004318/0.6344, allocations: 217.3 kB / 0.8986 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.6344, allocations: 4 kB / 0.8986 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.6344, allocations: 7.938 kB / 0.8986 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.6344, allocations: 0 / 0.8986 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001999/0.6346, allocations: 35.97 kB / 0.8986 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.6346, allocations: 0 / 0.8986 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.6348, allocations: 15.94 kB / 0.8986 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.977e-05/0.6348, allocations: 12 kB / 0.8986 GB, free: 11.59 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.0001684/0.635, allocations: 155.4 kB / 0.8988 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.753e-05/0.635, allocations: 27.8 kB / 0.8988 GB, free: 11.4 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004631/0.6355, allocations: 203.3 kB / 0.899 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.6355, allocations: 3.938 kB / 0.899 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.6355, allocations: 4 kB / 0.899 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.6355, allocations: 0 / 0.899 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.6366, allocations: 0.5934 MB / 0.8996 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.6366, allocations: 4 kB / 0.8996 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001372/0.6367, allocations: 23.98 kB / 0.8996 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.6367, allocations: 4 kB / 0.8996 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.6367, allocations: 8 kB / 0.8996 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.6368, allocations: 3.938 kB / 0.8996 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.6368, allocations: 8.219 kB / 0.8997 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005052/0.6373, allocations: 333.2 kB / 0.9 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.105e-05/0.6374, allocations: 43.77 kB / 0.9 GB, free: 10.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.076e-05/0.6374, allocations: 4 kB / 0.9 GB, free: 10.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.6375, allocations: 11.98 kB / 0.9 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.314e-05/0.6376, allocations: 15.92 kB / 0.9 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.6376, allocations: 4 kB / 0.9 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001493/0.6377, allocations: 169.2 kB / 0.9002 GB, free: 9.887 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.6377, allocations: 4 kB / 0.9002 GB, free: 9.883 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000392/0.6381, allocations: 79.78 kB / 0.9003 GB, free: 9.805 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.0002454/0.6384, allocations: 131.1 kB / 0.9004 GB, free: 9.664 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000417/0.6388, allocations: 162.6 kB / 0.9006 GB, free: 9.508 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.6388, allocations: 0 / 0.9006 GB, free: 9.508 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000177/0.639, allocations: 71.89 kB / 0.9006 GB, free: 9.438 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006005/0.6396, allocations: 91.7 kB / 0.9007 GB, free: 9.352 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008998/0.6405, allocations: 0.5366 MB / 0.9012 GB, free: 8.766 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.6407, allocations: 175.4 kB / 0.9014 GB, free: 8.578 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000143/0.6409, allocations: 49.91 kB / 0.9015 GB, free: 8.531 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.356e-05/0.6409, allocations: 20.5 kB / 0.9015 GB, free: 8.512 MB / 0.7325 GB Notification: Performance of SimCode: time 3.41e-07/0.6409, allocations: 4 kB / 0.9015 GB, free: 8.508 MB / 0.7325 GB Notification: Performance of Templates: time 0.008554/0.6495, allocations: 3.684 MB / 0.9051 GB, free: 4.922 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: 6.166335191577673] Failed to read output from testmodel.py, exit status != 0: 0.6589425932615995 0.6740919759999999 0.044760825000000004 Calling exit ...