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.001313/0.001313, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00154/0.00154, allocations: 212.4 kB / 22.24 MB, free: 4.855 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.394/1.394, allocations: 230.6 MB / 256 MB, free: 7.793 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.00242/0.00242, allocations: 286.3 kB / 312.7 MB, free: 2.598 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.162/1.162, allocations: 180.6 MB / 0.5369 GB, free: 14.47 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: "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) [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.002854/0.002854, allocations: 105.1 kB / 0.7395 GB, free: 28.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1659, allocations: 95.39 MB / 0.8327 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1799/0.3457, allocations: 147.8 MB / 0.977 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4067/0.7524, allocations: 5.999 MB / 0.9828 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004721/0.7529, allocations: 22.5 kB / 0.9829 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005138/0.7534, allocations: 175 kB / 0.983 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002091/0.7555, allocations: 0.8407 MB / 0.9838 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000853/0.7564, allocations: 345.1 kB / 0.9842 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008373/0.7572, allocations: 0.7278 MB / 0.9849 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003634/0.7576, allocations: 206.5 kB / 0.9851 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001179/0.7588, allocations: 0.5721 MB / 0.9856 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004238/0.7592, allocations: 271.8 kB / 0.9859 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.53e-05/0.7592, allocations: 23 kB / 0.9859 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006279/0.7598, allocations: 295.9 kB / 0.9862 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001468/0.76, allocations: 114.2 kB / 0.9863 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001679/0.7602, allocations: 135.5 kB / 0.9864 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006799/0.7608, allocations: 472.4 kB / 0.9869 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.7608, allocations: 0.75 kB / 0.9869 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7608, allocations: 3.078 kB / 0.9869 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.228e-05/0.7609, allocations: 0 / 0.9869 GB, free: 3.586 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.0009601/0.7618, allocations: 0.5517 MB / 0.9874 GB, free: 19.21 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.7619, allocations: 14.12 kB / 0.9874 GB, free: 19.21 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.214e-05/0.7619, allocations: 59.98 kB / 0.9875 GB, free: 19.17 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002927/0.7622, allocations: 65.44 kB / 0.9876 GB, free: 19.15 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004998/0.7627, allocations: 267.5 kB / 0.9878 GB, free: 18.98 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.7627, allocations: 19.41 kB / 0.9878 GB, free: 18.98 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.004e-05/0.7628, allocations: 26.75 kB / 0.9879 GB, free: 18.98 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005029/0.7633, allocations: 327.7 kB / 0.9882 GB, free: 18.89 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.7633, allocations: 1.031 kB / 0.9882 GB, free: 18.89 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.274e-05/0.7633, allocations: 10.69 kB / 0.9882 GB, free: 18.89 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.7633, allocations: 6.281 kB / 0.9882 GB, free: 18.89 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000382/0.7637, allocations: 207.8 kB / 0.9884 GB, free: 18.88 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.001303/0.765, allocations: 1.191 MB / 0.9896 GB, free: 18.1 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002188/0.7652, allocations: 108.7 kB / 0.9897 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.7654, allocations: 85.67 kB / 0.9897 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004501/0.7658, allocations: 76.33 kB / 0.9898 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.7659, allocations: 32.31 kB / 0.9898 GB, free: 18.03 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.492e-06/0.7659, allocations: 0 / 0.9898 GB, free: 18.03 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.000676/0.7665, allocations: 272.5 kB / 0.9901 GB, free: 17.98 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.7666, allocations: 57.86 kB / 0.9902 GB, free: 17.92 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002859/0.7669, allocations: 315.6 kB / 0.9905 GB, free: 17.81 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.417e-05/0.7669, allocations: 25.7 kB / 0.9905 GB, free: 17.78 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.767, allocations: 191.6 kB / 0.9907 GB, free: 17.67 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.18e-05/0.767, allocations: 42.5 kB / 0.9907 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.829e-05/0.7671, allocations: 35.97 kB / 0.9907 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.7672, allocations: 341.7 kB / 0.9911 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.7674, allocations: 58.78 kB / 0.9911 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002085/0.7676, allocations: 192.5 kB / 0.9913 GB, free: 17.17 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002953/0.7679, allocations: 179.8 kB / 0.9915 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.7679, allocations: 0 / 0.9915 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003737/0.7683, allocations: 219.2 kB / 0.9917 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.7683, allocations: 7.984 kB / 0.9917 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.7683, allocations: 2.906 kB / 0.9917 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.7683, allocations: 6.984 kB / 0.9917 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.7685, allocations: 33.86 kB / 0.9917 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.7685, allocations: 2.906 kB / 0.9917 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/0.7686, allocations: 32.19 kB / 0.9918 GB, free: 17.06 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/0.7687, allocations: 10.83 kB / 0.9918 GB, free: 17.06 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.000147/0.7688, allocations: 149.4 kB / 0.9919 GB, free: 16.94 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.442e-05/0.7689, allocations: 31.17 kB / 0.992 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003978/0.7693, allocations: 214.7 kB / 0.9922 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.7693, allocations: 0 / 0.9922 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.7693, allocations: 3.719 kB / 0.9922 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.7693, allocations: 0.9375 kB / 0.9922 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009383/0.7702, allocations: 0.6359 MB / 0.9928 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.7702, allocations: 1.359 kB / 0.9928 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.7703, allocations: 30.86 kB / 0.9928 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.7703, allocations: 3.844 kB / 0.9928 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.7703, allocations: 7.344 kB / 0.9928 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.7703, allocations: 7.156 kB / 0.9928 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.7704, allocations: 3.547 kB / 0.9928 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003794/0.7707, allocations: 337.1 kB / 0.9932 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.002e-05/0.7708, allocations: 38.19 kB / 0.9932 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.833e-05/0.7709, allocations: 8.234 kB / 0.9932 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.771, allocations: 11.91 kB / 0.9932 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.801e-05/0.7711, allocations: 19.55 kB / 0.9932 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.7711, allocations: 4.062 kB / 0.9932 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001904/0.7713, allocations: 221.6 kB / 0.9935 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of sort global known variables: time 7e-08/0.7713, allocations: 0 / 0.9935 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003816/0.7716, allocations: 85.83 kB / 0.9935 GB, free: 16.24 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.0008014/0.7724, allocations: 0.8948 MB / 0.9944 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003792/0.7728, allocations: 162.8 kB / 0.9946 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.7728, allocations: 1.062 kB / 0.9946 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001704/0.773, allocations: 81.59 kB / 0.9946 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000794/0.7738, allocations: 142 kB / 0.9948 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003873/0.7777, allocations: 2.814 MB / 0.9975 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/0.7779, allocations: 174.6 kB / 0.9977 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003089/0.7782, allocations: 62.7 kB / 0.9977 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.7784, allocations: 97.12 kB / 0.9978 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of SimCode: time 1.503e-06/0.7784, allocations: 0 / 0.9978 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03699/0.8154, allocations: 9.218 MB / 1.007 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/11.45, allocations: 21.8 kB / 1.007 GB, free: 12.69 MB / 0.7325 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.37399078765884] Failed to read output from testmodel.py, exit status != 0: 11.553522759117186 11.570894174 10.807612849 Calling exit ...