Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001952/0.001952, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.00261/0.00261, allocations: 217.8 kB / 22.26 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.411/1.411, allocations: 230.6 MB / 256 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.835/0.835, allocations: 134 MB / 446.4 MB, free: 10.22 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001924/0.001924, allocations: 69.86 kB / 0.6186 GB, free: 7.215 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1657, allocations: 85.91 MB / 0.7025 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5521/0.7178, allocations: 171.2 MB / 0.8696 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.009286/0.7271, allocations: 6.64 MB / 0.8761 GB, free: 4.801 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006264/0.7277, allocations: 19.81 kB / 0.8761 GB, free: 4.781 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0007559/0.7284, allocations: 166.7 kB / 0.8763 GB, free: 4.617 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002747/0.7312, allocations: 0.8908 MB / 0.8771 GB, free: 3.723 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.7323, allocations: 352 kB / 0.8775 GB, free: 3.383 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001165/0.7335, allocations: 0.7291 MB / 0.8782 GB, free: 2.652 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005224/0.734, allocations: 227 kB / 0.8784 GB, free: 2.434 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001453/0.7355, allocations: 0.5838 MB / 0.879 GB, free: 1.848 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005832/0.7361, allocations: 279 kB / 0.8792 GB, free: 1.574 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 6.591e-05/0.7361, allocations: 24 kB / 0.8793 GB, free: 1.551 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007582/0.7369, allocations: 371.1 kB / 0.8796 GB, free: 1.188 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001623/0.7371, allocations: 107.6 kB / 0.8797 GB, free: 1.082 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.000234/0.7373, allocations: 171.1 kB / 0.8799 GB, free: 0.9141 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0008448/0.7381, allocations: 476.5 kB / 0.8803 GB, free: 464 kB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.7381, allocations: 7.938 kB / 0.8803 GB, free: 456 kB / 0.6387 GB Notification: Performance of FrontEnd: time 1.322e-06/0.7381, allocations: 0 / 0.8803 GB, free: 456 kB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.667e-05/0.7382, allocations: 3.938 kB / 0.8803 GB, free: 452 kB / 0.6387 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.001043/0.7392, allocations: 0.5438 MB / 0.8809 GB, free: 15.87 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.7392, allocations: 12.03 kB / 0.8809 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.229e-05/0.7393, allocations: 58.55 kB / 0.8809 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003451/0.7397, allocations: 67.67 kB / 0.881 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005579/0.7402, allocations: 267.5 kB / 0.8813 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.7402, allocations: 20.66 kB / 0.8813 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.239e-05/0.7403, allocations: 27.98 kB / 0.8813 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005588/0.7408, allocations: 316.9 kB / 0.8816 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.7409, allocations: 4 kB / 0.8816 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.284e-05/0.7409, allocations: 8 kB / 0.8816 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.7409, allocations: 11.94 kB / 0.8816 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004319/0.7413, allocations: 209.5 kB / 0.8818 GB, free: 14.82 MB / 0.6544 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.001777/0.7431, allocations: 1.49 MB / 0.8833 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002605/0.7434, allocations: 113.3 kB / 0.8834 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001794/0.7435, allocations: 88.8 kB / 0.8835 GB, free: 13 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004825/0.744, allocations: 71.92 kB / 0.8836 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.7441, allocations: 30.56 kB / 0.8836 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 3.256e-06/0.7441, allocations: 3.984 kB / 0.8836 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.0007582/0.7448, allocations: 273.6 kB / 0.8838 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.7449, allocations: 51.41 kB / 0.8839 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003334/0.7452, allocations: 316.5 kB / 0.8842 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.7452, allocations: 29.7 kB / 0.8842 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.7454, allocations: 188.1 kB / 0.8844 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.581e-05/0.7454, allocations: 59.56 kB / 0.8845 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.674e-05/0.7455, allocations: 37.66 kB / 0.8845 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.7456, allocations: 342.8 kB / 0.8848 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.7458, allocations: 59.95 kB / 0.8849 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001922/0.746, allocations: 109.1 kB / 0.885 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003405/0.7463, allocations: 179 kB / 0.8852 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.7463, allocations: 4 kB / 0.8852 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004298/0.7467, allocations: 221.2 kB / 0.8854 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.7468, allocations: 4 kB / 0.8854 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.433e-06/0.7468, allocations: 2.344 kB / 0.8854 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.7468, allocations: 4 kB / 0.8854 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.747, allocations: 31.92 kB / 0.8854 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.747, allocations: 4.156 kB / 0.8854 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001746/0.7471, allocations: 39.77 kB / 0.8855 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.599e-05/0.7472, allocations: 4 kB / 0.8855 GB, free: 10.88 MB / 0.6544 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.0001595/0.7473, allocations: 153.7 kB / 0.8856 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.495e-05/0.7474, allocations: 27.81 kB / 0.8856 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004457/0.7478, allocations: 204.3 kB / 0.8858 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.7478, allocations: 0 / 0.8858 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.7478, allocations: 4 kB / 0.8858 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.7478, allocations: 0 / 0.8858 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.7489, allocations: 0.663 MB / 0.8865 GB, free: 9.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.7489, allocations: 0 / 0.8865 GB, free: 9.75 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000132/0.749, allocations: 27.98 kB / 0.8865 GB, free: 9.723 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.391e-06/0.749, allocations: 3.938 kB / 0.8865 GB, free: 9.719 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.7491, allocations: 8 kB / 0.8865 GB, free: 9.711 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.553e-06/0.7491, allocations: 7.984 kB / 0.8865 GB, free: 9.703 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.7491, allocations: 3.938 kB / 0.8865 GB, free: 9.699 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004598/0.7495, allocations: 337.5 kB / 0.8868 GB, free: 9.332 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.706e-05/0.7496, allocations: 39.8 kB / 0.8869 GB, free: 9.293 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.691e-05/0.7497, allocations: 15.92 kB / 0.8869 GB, free: 9.277 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.7498, allocations: 4.875 kB / 0.8869 GB, free: 9.273 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.461e-05/0.7499, allocations: 19.91 kB / 0.8869 GB, free: 9.254 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.931e-05/0.7499, allocations: 8 kB / 0.8869 GB, free: 9.246 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002221/0.7501, allocations: 219.1 kB / 0.8871 GB, free: 9.035 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.7501, allocations: 4 kB / 0.8871 GB, free: 9.031 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003768/0.7505, allocations: 79.81 kB / 0.8872 GB, free: 8.953 MB / 0.6544 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.0009558/0.7515, allocations: 0.907 MB / 0.8881 GB, free: 7.996 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004085/0.7519, allocations: 151.8 kB / 0.8883 GB, free: 7.848 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.7519, allocations: 0 / 0.8883 GB, free: 7.848 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001828/0.752, allocations: 76.52 kB / 0.8883 GB, free: 7.773 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008229/0.7529, allocations: 160.9 kB / 0.8885 GB, free: 7.633 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003867/0.7567, allocations: 2.814 MB / 0.8912 GB, free: 4.664 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004287/0.7572, allocations: 0.7795 MB / 0.892 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002057/0.7574, allocations: 66.92 kB / 0.8921 GB, free: 3.797 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/0.7575, allocations: 91.41 kB / 0.8921 GB, free: 3.707 MB / 0.6544 GB Notification: Performance of SimCode: time 4.51e-07/0.7575, allocations: 0 / 0.8921 GB, free: 3.707 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03929/0.7968, allocations: 8.295 MB / 0.9002 GB, free: 11.62 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.92, allocations: 8.656 kB / 0.9002 GB, free: 11.62 MB / 0.67 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.444182951934636] Failed to read output from testmodel.py, exit status != 0: 12.030553555116057 12.060721236 11.31717556 Calling exit ...