Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001013/0.001013, allocations: 101.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.001144/0.001144, allocations: 209.2 kB / 22.24 MB, free: 3.59 MB / 13.93 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.009/1.009, allocations: 230.6 MB / 256 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7893/0.7893, allocations: 203.8 MB / 0.5042 GB, free: 10.44 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IDEAS_dev_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.001007/0.001007, allocations: 74.83 kB / 0.7182 GB, free: 3.992 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5745/0.5755, allocations: 102 MB / 0.8178 GB, free: 1.031 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1534/0.729, allocations: 147.8 MB / 0.9622 GB, free: 1.336 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.005419/0.7344, allocations: 6.029 MB / 0.968 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000442/0.7348, allocations: 19.81 kB / 0.9681 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000515/0.7353, allocations: 178.7 kB / 0.9682 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001698/0.737, allocations: 0.8402 MB / 0.9691 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007886/0.7378, allocations: 350.4 kB / 0.9694 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0006919/0.7385, allocations: 0.7212 MB / 0.9701 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003699/0.7389, allocations: 227.2 kB / 0.9703 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001437/0.7403, allocations: 0.7278 MB / 0.971 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003742/0.7407, allocations: 259 kB / 0.9713 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.603e-05/0.7407, allocations: 24 kB / 0.9713 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005551/0.7413, allocations: 287.3 kB / 0.9716 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001447/0.7414, allocations: 111.6 kB / 0.9717 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.7416, allocations: 135.3 kB / 0.9718 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005531/0.7421, allocations: 466.2 kB / 0.9722 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.7421, allocations: 4 kB / 0.9722 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7421, allocations: 0 / 0.9722 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.7421, allocations: 0 / 0.9722 GB, free: 6.973 MB / 0.7448 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.0008599/0.743, allocations: 0.5516 MB / 0.9728 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.743, allocations: 8.031 kB / 0.9728 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.32e-05/0.7431, allocations: 70.47 kB / 0.9729 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002679/0.7434, allocations: 59.67 kB / 0.9729 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004686/0.7438, allocations: 267.6 kB / 0.9732 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.7439, allocations: 16.66 kB / 0.9732 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/0.7439, allocations: 28 kB / 0.9732 GB, free: 5.914 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000424/0.7443, allocations: 320.9 kB / 0.9735 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.7443, allocations: 0 / 0.9735 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.966e-05/0.7443, allocations: 16 kB / 0.9735 GB, free: 5.562 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.7443, allocations: 4 kB / 0.9735 GB, free: 5.559 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002721/0.7446, allocations: 205.4 kB / 0.9737 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.7457, allocations: 1.198 MB / 0.9749 GB, free: 4.094 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/0.7459, allocations: 105.2 kB / 0.975 GB, free: 3.984 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.746, allocations: 96.73 kB / 0.9751 GB, free: 3.887 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002791/0.7463, allocations: 80.16 kB / 0.9752 GB, free: 3.809 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.7463, allocations: 34.55 kB / 0.9752 GB, free: 3.766 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 2.064e-06/0.7463, allocations: 0 / 0.9752 GB, free: 3.766 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13): time 0.0004699/0.7468, allocations: 269.3 kB / 0.9755 GB, free: 3.496 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/0.7468, allocations: 55.39 kB / 0.9755 GB, free: 3.43 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002226/0.747, allocations: 308.5 kB / 0.9758 GB, free: 3.117 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.747, allocations: 33.7 kB / 0.9758 GB, free: 3.078 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.7471, allocations: 188.2 kB / 0.976 GB, free: 2.891 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/0.7472, allocations: 43.61 kB / 0.9761 GB, free: 2.848 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.574e-05/0.7472, allocations: 37.7 kB / 0.9761 GB, free: 2.805 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.7473, allocations: 338.8 kB / 0.9764 GB, free: 2.465 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.806e-05/0.7474, allocations: 59.95 kB / 0.9765 GB, free: 2.406 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.7475, allocations: 186.2 kB / 0.9767 GB, free: 2.188 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/0.7477, allocations: 188.8 kB / 0.9768 GB, free: 1.984 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.7477, allocations: 0 / 0.9768 GB, free: 1.984 MB / 0.7448 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002498/0.748, allocations: 213.3 kB / 0.977 GB, free: 1.77 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.748, allocations: 4.156 kB / 0.977 GB, free: 1.766 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.748, allocations: 8 kB / 0.9771 GB, free: 1.758 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.748, allocations: 0 / 0.9771 GB, free: 1.758 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.7481, allocations: 35.97 kB / 0.9771 GB, free: 1.723 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.7481, allocations: 0 / 0.9771 GB, free: 1.723 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.7482, allocations: 31.81 kB / 0.9771 GB, free: 1.691 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.515e-05/0.7483, allocations: 11.94 kB / 0.9771 GB, free: 1.68 MB / 0.7448 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.0001074/0.7484, allocations: 145.8 kB / 0.9773 GB, free: 1.527 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.063e-05/0.7484, allocations: 27.81 kB / 0.9773 GB, free: 1.5 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002856/0.7487, allocations: 216.2 kB / 0.9775 GB, free: 1.281 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.7487, allocations: 4 kB / 0.9775 GB, free: 1.277 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.7487, allocations: 0 / 0.9775 GB, free: 1.277 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.7487, allocations: 0 / 0.9775 GB, free: 1.277 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006807/0.7494, allocations: 0.6398 MB / 0.9781 GB, free: 0.5664 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.7494, allocations: 0 / 0.9781 GB, free: 0.5664 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.011e-05/0.7495, allocations: 35.86 kB / 0.9782 GB, free: 0.5312 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.7495, allocations: 64 / 0.9782 GB, free: 0.5312 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.7495, allocations: 15.94 kB / 0.9782 GB, free: 0.5156 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.7495, allocations: 4 kB / 0.9782 GB, free: 0.5117 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.7495, allocations: 0 / 0.9782 GB, free: 0.5117 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002636/0.7498, allocations: 340.1 kB / 0.9785 GB, free: 148 kB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.117e-05/0.7498, allocations: 43.8 kB / 0.9786 GB, free: 104 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/0.7498, allocations: 7.922 kB / 0.9786 GB, free: 96 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.674e-05/0.7499, allocations: 12 kB / 0.9786 GB, free: 84 kB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.102e-05/0.75, allocations: 7.984 kB / 0.9786 GB, free: 76 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.75, allocations: 11.94 kB / 0.9786 GB, free: 64 kB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001585/0.7501, allocations: 223 kB / 0.9788 GB, free: 15.85 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.7501, allocations: 0 / 0.9788 GB, free: 15.85 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.000296/0.7504, allocations: 79.83 kB / 0.9789 GB, free: 15.77 MB / 0.7605 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.0008489/0.7513, allocations: 0.9091 MB / 0.9798 GB, free: 14.81 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002806/0.7515, allocations: 159.8 kB / 0.9799 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.7516, allocations: 0 / 0.9799 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 9.369e-05/0.7516, allocations: 71.89 kB / 0.98 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005247/0.7522, allocations: 148.3 kB / 0.9801 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002482/0.7547, allocations: 2.823 MB / 0.9829 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001321/0.7548, allocations: 179.8 kB / 0.9831 GB, free: 11.27 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001917/0.755, allocations: 58.88 kB / 0.9831 GB, free: 11.21 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/0.7551, allocations: 91.41 kB / 0.9832 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of SimCode: time 1.452e-06/0.7551, allocations: 0 / 0.9832 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02554/0.7806, allocations: 9.202 MB / 0.9922 GB, free: 2.18 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.696/7.477, allocations: 10.92 kB / 0.9922 GB, free: 2.172 MB / 0.7605 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.62513554096222] Failed to read output from testmodel.py, exit status != 0: 7.55897732404992 7.569037637 6.8240705 Calling exit ...