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.001583/0.001583, allocations: 84.75 kB / 19.76 MB, free: 2.02 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.001722/0.001722, allocations: 156.7 kB / 23 MB, free: 4.965 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.382/1.382, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 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.002452/0.002452, allocations: 238 kB / 260 MB, free: 440 kB / 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 0.9065/0.9065, allocations: 138.5 MB / 455 MB, free: 15.07 MB / 430.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.003284/0.003284, allocations: 104.3 kB / 0.6473 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4196/0.4229, allocations: 95.35 MB / 0.7405 GB, free: 17.42 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1804/0.6033, allocations: 147.8 MB / 0.8848 GB, free: 14.58 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008337/0.6116, allocations: 6.002 MB / 0.8907 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004672/0.6121, allocations: 15.88 kB / 0.8907 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006721/0.6128, allocations: 178.7 kB / 0.8908 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002377/0.6151, allocations: 0.8441 MB / 0.8917 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.6162, allocations: 347.1 kB / 0.892 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001175/0.6174, allocations: 0.7253 MB / 0.8927 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005035/0.6179, allocations: 219.7 kB / 0.8929 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001408/0.6193, allocations: 0.5643 MB / 0.8935 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005869/0.6199, allocations: 275 kB / 0.8937 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.275e-05/0.62, allocations: 24 kB / 0.8937 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007137/0.6207, allocations: 307.1 kB / 0.894 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000158/0.6208, allocations: 103.7 kB / 0.8941 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002303/0.6211, allocations: 143.3 kB / 0.8943 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007622/0.6218, allocations: 459 kB / 0.8947 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.6218, allocations: 0 / 0.8947 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.393e-06/0.6218, allocations: 4 kB / 0.8947 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.6218, allocations: 0 / 0.8947 GB, free: 4.395 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.0009394/0.6228, allocations: 0.5555 MB / 0.8953 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.6228, allocations: 13.34 kB / 0.8953 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003137/0.6231, allocations: 67.66 kB / 0.8953 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005324/0.6237, allocations: 264 kB / 0.8956 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.6237, allocations: 24.59 kB / 0.8956 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.847e-05/0.6237, allocations: 24 kB / 0.8956 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005797/0.6243, allocations: 317.1 kB / 0.8959 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.6243, allocations: 3.938 kB / 0.8959 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.614e-05/0.6244, allocations: 12 kB / 0.896 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.6244, allocations: 4 kB / 0.896 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004467/0.6248, allocations: 201.8 kB / 0.8961 GB, free: 2.852 MB / 0.7169 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.001408/0.6262, allocations: 1.125 MB / 0.8972 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002519/0.6265, allocations: 106.5 kB / 0.8973 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001919/0.6267, allocations: 92.73 kB / 0.8974 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004738/0.6271, allocations: 71.92 kB / 0.8975 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.6272, allocations: 34.55 kB / 0.8975 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.253e-06/0.6272, allocations: 7.938 kB / 0.8975 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0007497/0.6279, allocations: 265.4 kB / 0.8978 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.628, allocations: 55.34 kB / 0.8979 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002402/0.6282, allocations: 237.9 kB / 0.8981 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.6282, allocations: 25.7 kB / 0.8981 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.6284, allocations: 196.1 kB / 0.8983 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.443e-05/0.6284, allocations: 51.58 kB / 0.8983 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.566e-05/0.6285, allocations: 33.7 kB / 0.8984 GB, free: 468 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.6287, allocations: 334.8 kB / 0.8987 GB, free: 124 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/0.6288, allocations: 63.95 kB / 0.8988 GB, free: 60 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002725/0.6291, allocations: 194.1 kB / 0.8989 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003499/0.6294, allocations: 173 kB / 0.8991 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.6294, allocations: 4 kB / 0.8991 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004304/0.6299, allocations: 209.3 kB / 0.8993 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.6299, allocations: 11.98 kB / 0.8993 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.6299, allocations: 0 / 0.8993 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.6299, allocations: 4 kB / 0.8993 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.6301, allocations: 31.92 kB / 0.8994 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.6301, allocations: 4.156 kB / 0.8994 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000152/0.6303, allocations: 27.88 kB / 0.8994 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.403e-05/0.6303, allocations: 4 kB / 0.8994 GB, free: 15.35 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.0001551/0.6304, allocations: 149.8 kB / 0.8995 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.062e-05/0.6305, allocations: 23.8 kB / 0.8995 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004358/0.6309, allocations: 199.3 kB / 0.8997 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.6309, allocations: 4 kB / 0.8997 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.6309, allocations: 0 / 0.8997 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.6309, allocations: 4 kB / 0.8997 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.6319, allocations: 0.6012 MB / 0.9003 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.6319, allocations: 3.938 kB / 0.9003 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001469/0.6321, allocations: 31.92 kB / 0.9004 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.6321, allocations: 224 / 0.9004 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.6321, allocations: 8 kB / 0.9004 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.72e-06/0.6321, allocations: 4 kB / 0.9004 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.6321, allocations: 0 / 0.9004 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004798/0.6326, allocations: 341.3 kB / 0.9007 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.16e-05/0.6327, allocations: 31.84 kB / 0.9007 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.966e-05/0.6327, allocations: 8 kB / 0.9007 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.6328, allocations: 7.984 kB / 0.9008 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.148e-05/0.6329, allocations: 27.86 kB / 0.9008 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.6329, allocations: 4 kB / 0.9008 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001442/0.6331, allocations: 161.2 kB / 0.9009 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of sort global known variables: time 7e-08/0.6331, allocations: 0 / 0.9009 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003864/0.6334, allocations: 83.78 kB / 0.901 GB, free: 13.57 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.0002298/0.6337, allocations: 131.1 kB / 0.9011 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004047/0.6341, allocations: 155.7 kB / 0.9013 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.6341, allocations: 0 / 0.9013 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001879/0.6343, allocations: 84.56 kB / 0.9014 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005997/0.6349, allocations: 88.66 kB / 0.9015 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008514/0.6357, allocations: 0.5327 MB / 0.902 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001877/0.6359, allocations: 175.5 kB / 0.9021 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000141/0.6361, allocations: 54.03 kB / 0.9022 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.526e-05/0.6361, allocations: 20.5 kB / 0.9022 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of SimCode: time 3.11e-07/0.6361, allocations: 0 / 0.9022 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of Templates: time 0.008479/0.6446, allocations: 3.694 MB / 0.9058 GB, free: 8.703 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 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.0725238679442555] Failed to read output from testmodel.py, exit status != 0: 0.653598610078916 0.667966357 0.042929363000000005 Calling exit ...