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.001195/0.001195, allocations: 112.7 kB / 19.73 MB, free: 2.242 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.001345/0.001345, allocations: 219.3 kB / 23.05 MB, free: 5.074 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.371/1.371, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.002379/0.002379, allocations: 275.4 kB / 313.5 MB, free: 2.828 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.5377 GB, free: 13.01 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="cs",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.002695/0.002695, allocations: 102.6 kB / 0.7404 GB, free: 28.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1665, allocations: 95.38 MB / 0.8335 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.6173/0.7838, allocations: 171.2 MB / 1.001 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007432/0.7912, allocations: 6.642 MB / 1.007 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006668/0.7919, allocations: 17.47 kB / 1.007 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006444/0.7925, allocations: 168.7 kB / 1.007 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002999/0.7955, allocations: 0.8955 MB / 1.008 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001168/0.7967, allocations: 343.9 kB / 1.009 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00129/0.798, allocations: 0.7339 MB / 1.009 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004641/0.7985, allocations: 217 kB / 1.009 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001633/0.8001, allocations: 0.5788 MB / 1.01 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000673/0.8008, allocations: 288.7 kB / 1.01 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.403e-05/0.8008, allocations: 27.34 kB / 1.01 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001037/0.8019, allocations: 366.9 kB / 1.011 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001969/0.8021, allocations: 111.1 kB / 1.011 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002448/0.8023, allocations: 168.3 kB / 1.011 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0008266/0.8031, allocations: 475 kB / 1.011 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.8031, allocations: 0 / 1.011 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.182e-06/0.8031, allocations: 0 / 1.011 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.8032, allocations: 0.875 kB / 1.011 GB, free: 3.289 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.001049/0.8042, allocations: 0.5541 MB / 1.012 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.8042, allocations: 11.72 kB / 1.012 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.096e-05/0.8043, allocations: 7.125 kB / 1.012 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.934e-05/0.8043, allocations: 63.55 kB / 1.012 GB, free: 18.87 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003339/0.8047, allocations: 58.3 kB / 1.012 GB, free: 18.85 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005474/0.8052, allocations: 266.4 kB / 1.012 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.8052, allocations: 20.48 kB / 1.012 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.082e-05/0.8053, allocations: 28.09 kB / 1.012 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005569/0.8058, allocations: 317.8 kB / 1.013 GB, free: 18.59 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.8059, allocations: 1.062 kB / 1.013 GB, free: 18.59 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.498e-05/0.8059, allocations: 10.31 kB / 1.013 GB, free: 18.59 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.8059, allocations: 7.5 kB / 1.013 GB, free: 18.59 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004331/0.8063, allocations: 206 kB / 1.013 GB, free: 18.59 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.001754/0.8081, allocations: 1.493 MB / 1.014 GB, free: 17.49 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002558/0.8083, allocations: 123.8 kB / 1.014 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.8085, allocations: 87.12 kB / 1.015 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004811/0.809, allocations: 71.25 kB / 1.015 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.809, allocations: 36.66 kB / 1.015 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.322e-06/0.809, allocations: 0 / 1.015 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0007711/0.8098, allocations: 279.1 kB / 1.015 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.8098, allocations: 53.41 kB / 1.015 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003385/0.8102, allocations: 310.1 kB / 1.015 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.8102, allocations: 26.73 kB / 1.015 GB, free: 17.16 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.8103, allocations: 192 kB / 1.015 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.19e-05/0.8104, allocations: 48.05 kB / 1.016 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.188e-05/0.8104, allocations: 36.77 kB / 1.016 GB, free: 17 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.8106, allocations: 337 kB / 1.016 GB, free: 16.69 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.8107, allocations: 59.88 kB / 1.016 GB, free: 16.69 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/0.8109, allocations: 110.2 kB / 1.016 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003055/0.8112, allocations: 180 kB / 1.016 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.8112, allocations: 0.8125 kB / 1.016 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004233/0.8117, allocations: 219.1 kB / 1.016 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.8117, allocations: 11.62 kB / 1.016 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.8117, allocations: 5.281 kB / 1.016 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.8117, allocations: 1.438 kB / 1.016 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.8119, allocations: 37.11 kB / 1.016 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.8119, allocations: 4.422 kB / 1.016 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001798/0.8121, allocations: 31.94 kB / 1.016 GB, free: 16.53 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.743e-05/0.8121, allocations: 10.03 kB / 1.017 GB, free: 16.53 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.0001643/0.8123, allocations: 148.2 kB / 1.017 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.927e-05/0.8123, allocations: 33.19 kB / 1.017 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004495/0.8128, allocations: 203.9 kB / 1.017 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.8128, allocations: 2.953 kB / 1.017 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.8128, allocations: 0.875 kB / 1.017 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.8128, allocations: 0 / 1.017 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.8138, allocations: 0.6589 MB / 1.018 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.8138, allocations: 1.312 kB / 1.018 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001301/0.8139, allocations: 35.08 kB / 1.018 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.8139, allocations: 3.375 kB / 1.018 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.8139, allocations: 3.844 kB / 1.018 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.8139, allocations: 6.25 kB / 1.018 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.145e-06/0.8139, allocations: 2.969 kB / 1.018 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004441/0.8144, allocations: 338 kB / 1.018 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.358e-05/0.8145, allocations: 47.34 kB / 1.018 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.227e-05/0.8145, allocations: 9.641 kB / 1.018 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.8147, allocations: 13.19 kB / 1.018 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.343e-05/0.8147, allocations: 15.92 kB / 1.018 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.8147, allocations: 4.312 kB / 1.018 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002331/0.815, allocations: 224.4 kB / 1.018 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.815, allocations: 1.281 kB / 1.018 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004151/0.8154, allocations: 78.17 kB / 1.018 GB, free: 15.71 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.0009344/0.8163, allocations: 0.9073 MB / 1.019 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003904/0.8167, allocations: 151.5 kB / 1.019 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.8167, allocations: 0.9688 kB / 1.019 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.8169, allocations: 85.14 kB / 1.019 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008081/0.8177, allocations: 145.7 kB / 1.02 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003257/0.8209, allocations: 2.815 MB / 1.022 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004083/0.8214, allocations: 0.7834 MB / 1.023 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002186/0.8216, allocations: 61.11 kB / 1.023 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.8217, allocations: 91.41 kB / 1.023 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of SimCode: time 5.21e-07/0.8217, allocations: 0 / 1.023 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02882/0.8505, allocations: 8.357 MB / 1.031 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.84, allocations: 7.375 kB / 1.031 GB, free: 12.01 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.833370061998721] Failed to read output from testmodel.py, exit status != 0: 11.999431673961226 12.010180225 11.204562281 Calling exit ...