Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.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.001392/0.001392, 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.001695/0.001695, allocations: 209.2 kB / 22.24 MB, free: 3.57 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 0.9833/0.9833, allocations: 230.6 MB / 256 MB, free: 9.594 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.7846/0.7846, allocations: 203.8 MB / 0.5042 GB, free: 10.4 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.SpecificEnthalpy,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy",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.001022/0.001022, allocations: 62.22 kB / 0.7182 GB, free: 4.027 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4493/0.4503, allocations: 102 MB / 0.8178 GB, free: 1.027 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1267/0.5771, allocations: 142.2 MB / 0.9567 GB, free: 6.934 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.004078/0.5811, allocations: 4.2 MB / 0.9608 GB, free: 2.723 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003812/0.5815, allocations: 15.88 kB / 0.9608 GB, free: 2.707 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0004521/0.582, allocations: 119.1 kB / 0.9609 GB, free: 2.59 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.00075/0.5827, allocations: 342.4 kB / 0.9613 GB, free: 2.254 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000613/0.5833, allocations: 309.3 kB / 0.9616 GB, free: 1.957 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0006262/0.584, allocations: 0.5574 MB / 0.9621 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002542/0.5842, allocations: 179.7 kB / 0.9623 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001044/0.5853, allocations: 0.6655 MB / 0.9629 GB, free: 0.5547 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001916/0.5854, allocations: 191.2 kB / 0.9631 GB, free: 376 kB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/0.5855, allocations: 16 kB / 0.9631 GB, free: 360 kB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001412/0.5856, allocations: 79.92 kB / 0.9632 GB, free: 280 kB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 8.482e-05/0.5857, allocations: 99.7 kB / 0.9633 GB, free: 180 kB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 7.22e-05/0.5858, allocations: 95.55 kB / 0.9634 GB, free: 84 kB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003164/0.5861, allocations: 302.8 kB / 0.9637 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.5861, allocations: 4 kB / 0.9637 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.763e-06/0.5861, allocations: 0 / 0.9637 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.5861, allocations: 0 / 0.9637 GB, free: 15.78 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0006441/0.5867, allocations: 484.7 kB / 0.9641 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.5868, allocations: 8.031 kB / 0.9641 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.08e-05/0.5868, allocations: 50.55 kB / 0.9642 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.971e-05/0.5869, allocations: 31.75 kB / 0.9642 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002849/0.5872, allocations: 221.7 kB / 0.9644 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.5872, allocations: 20 kB / 0.9644 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.5872, allocations: 16 kB / 0.9645 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002866/0.5875, allocations: 265.6 kB / 0.9647 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.5875, allocations: 7.938 kB / 0.9647 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.5875, allocations: 8 kB / 0.9647 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.5875, allocations: 4 kB / 0.9647 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001906/0.5877, allocations: 143.8 kB / 0.9649 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008688/0.5886, allocations: 1.308 MB / 0.9662 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.5888, allocations: 179.7 kB / 0.9663 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.961e-05/0.5889, allocations: 89.11 kB / 0.9664 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001762/0.589, allocations: 39.95 kB / 0.9664 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.5891, allocations: 50.36 kB / 0.9665 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.303e-06/0.5891, allocations: 0 / 0.9665 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0003674/0.5894, allocations: 206 kB / 0.9667 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.913e-05/0.5895, allocations: 187.9 kB / 0.9669 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.5897, allocations: 296.2 kB / 0.9672 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.5897, allocations: 25.7 kB / 0.9672 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.268e-05/0.5898, allocations: 151.9 kB / 0.9673 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/0.5898, allocations: 35.69 kB / 0.9674 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.254e-05/0.5898, allocations: 33.72 kB / 0.9674 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.176e-05/0.5899, allocations: 334.8 kB / 0.9677 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.83e-05/0.59, allocations: 43.95 kB / 0.9677 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.5901, allocations: 218.5 kB / 0.968 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.5903, allocations: 158.7 kB / 0.9681 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.5903, allocations: 0 / 0.9681 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002114/0.5905, allocations: 201.5 kB / 0.9683 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.5905, allocations: 4 kB / 0.9683 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.5905, allocations: 7.984 kB / 0.9683 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.5906, allocations: 0 / 0.9683 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.417e-05/0.5906, allocations: 31.98 kB / 0.9683 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.5906, allocations: 8.156 kB / 0.9684 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.685e-05/0.5907, allocations: 35.81 kB / 0.9684 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.5907, allocations: 4 kB / 0.9684 GB, free: 10.52 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (15): * Single equations (assignments): 15 * 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 8.686e-05/0.5908, allocations: 141.8 kB / 0.9685 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.434e-05/0.5909, allocations: 39.78 kB / 0.9686 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001906/0.5911, allocations: 131 kB / 0.9687 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.5911, allocations: 0 / 0.9687 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.5911, allocations: 4 kB / 0.9687 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.5911, allocations: 4 kB / 0.9687 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006436/0.5917, allocations: 0.7292 MB / 0.9694 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.5917, allocations: 4 kB / 0.9694 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.265e-05/0.5918, allocations: 27.91 kB / 0.9694 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.5918, allocations: 4 kB / 0.9694 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.5918, allocations: 4 kB / 0.9694 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.5918, allocations: 4 kB / 0.9694 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.5918, allocations: 0 / 0.9694 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002961/0.5921, allocations: 343.6 kB / 0.9698 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.441e-05/0.5922, allocations: 35.83 kB / 0.9698 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.5922, allocations: 8 kB / 0.9698 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.047e-05/0.5923, allocations: 7.984 kB / 0.9698 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.422e-05/0.5923, allocations: 19.95 kB / 0.9698 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.5923, allocations: 7.938 kB / 0.9699 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001272/0.5924, allocations: 211.1 kB / 0.9701 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.5924, allocations: 4.062 kB / 0.9701 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002198/0.5927, allocations: 55.94 kB / 0.9701 GB, free: 8.633 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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 (10): * Single equations (assignments): 10 * 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.0005127/0.5932, allocations: 0.8882 MB / 0.971 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002076/0.5934, allocations: 120.1 kB / 0.9711 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.5934, allocations: 0 / 0.9711 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.594e-05/0.5934, allocations: 59.89 kB / 0.9711 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004378/0.5939, allocations: 128.2 kB / 0.9713 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001957/0.5958, allocations: 2.619 MB / 0.9738 GB, free: 4.633 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.846e-05/0.5959, allocations: 150.2 kB / 0.974 GB, free: 4.469 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.993e-05/0.596, allocations: 46.25 kB / 0.974 GB, free: 4.422 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.432e-05/0.5961, allocations: 67.42 kB / 0.9741 GB, free: 4.355 MB / 0.7448 GB Notification: Performance of SimCode: time 5.71e-07/0.5961, allocations: 0 / 0.9741 GB, free: 4.355 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02146/0.6176, allocations: 7.84 MB / 0.9817 GB, free: 12.73 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.98/7.597, allocations: 13.7 kB / 0.9818 GB, free: 12.73 MB / 0.7605 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy_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_SpecificEnthalpy.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.582448646891862] Failed to read output from testmodel.py, exit status != 0: 7.684114406351 7.696640787 7.108102402 Calling exit ...