Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.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.0008137/0.0008137, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008694/0.0008694, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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.9287/0.9287, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.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.712/0.712, allocations: 154.6 MB / 413.7 MB, free: 0.8203 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.HeatMeter,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.692e-05/1.856e-05, allocations: 5.234 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.HeatMeter): time 0.01608/0.01609, allocations: 21.46 MB / 0.639 GB, free: 8.125 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.006191/0.02229, allocations: 4.765 MB / 0.6437 GB, free: 3.344 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007126/0.023, allocations: 35.69 kB / 0.6437 GB, free: 3.309 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007436/0.02374, allocations: 289.9 kB / 0.644 GB, free: 3.023 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001721/0.02546, allocations: 0.8506 MB / 0.6448 GB, free: 2.168 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001496/0.02696, allocations: 0.8443 MB / 0.6456 GB, free: 1.332 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001682/0.02864, allocations: 1.644 MB / 0.6472 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005665/0.02921, allocations: 390.1 kB / 0.6476 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001437/0.03064, allocations: 0.9308 MB / 0.6485 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004718/0.03112, allocations: 402.7 kB / 0.6489 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.868e-05/0.03117, allocations: 44 kB / 0.6489 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000672/0.03185, allocations: 422.9 kB / 0.6494 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.03196, allocations: 159.4 kB / 0.6495 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001667/0.03213, allocations: 211.5 kB / 0.6497 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0009804/0.03311, allocations: 0.9503 MB / 0.6506 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.03311, allocations: 0 / 0.6506 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.312e-06/0.03311, allocations: 0 / 0.6506 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.234e-05/0.03312, allocations: 0 / 0.6506 GB, free: 12.2 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.0009932/0.03412, allocations: 0.8237 MB / 0.6514 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.03416, allocations: 13.47 kB / 0.6515 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.313e-05/0.03422, allocations: 74.72 kB / 0.6515 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001559/0.03438, allocations: 76.5 kB / 0.6516 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006956/0.03507, allocations: 0.5107 MB / 0.6521 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.03509, allocations: 29.38 kB / 0.6521 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.346e-05/0.03515, allocations: 52.08 kB / 0.6522 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004962/0.03564, allocations: 0.5095 MB / 0.6527 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.03566, allocations: 3.938 kB / 0.6527 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.665e-05/0.03568, allocations: 19.94 kB / 0.6527 GB, free: 9.992 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.224e-05/0.0357, allocations: 12 kB / 0.6527 GB, free: 9.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003341/0.03604, allocations: 299.8 kB / 0.653 GB, free: 9.688 MB / 0.6198 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.001594/0.03763, allocations: 1.517 MB / 0.6545 GB, free: 8.113 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003724/0.03801, allocations: 242.8 kB / 0.6547 GB, free: 7.867 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.03812, allocations: 116.7 kB / 0.6548 GB, free: 7.75 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002378/0.03836, allocations: 103.9 kB / 0.6549 GB, free: 7.648 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.03838, allocations: 30.56 kB / 0.6549 GB, free: 7.609 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=26): time 1.453e-06/0.03838, allocations: 0 / 0.6549 GB, free: 7.609 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26): time 0.000479/0.03886, allocations: 376 kB / 0.6553 GB, free: 7.238 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.03889, allocations: 55.41 kB / 0.6554 GB, free: 7.172 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003586/0.03925, allocations: 481.9 kB / 0.6558 GB, free: 6.691 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.417e-05/0.03927, allocations: 33.7 kB / 0.6558 GB, free: 6.652 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.03941, allocations: 264.4 kB / 0.6561 GB, free: 6.391 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.793e-05/0.03947, allocations: 103.2 kB / 0.6562 GB, free: 6.289 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.202e-05/0.03954, allocations: 74.02 kB / 0.6563 GB, free: 6.211 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.03965, allocations: 354.8 kB / 0.6566 GB, free: 5.855 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/0.03976, allocations: 96.59 kB / 0.6567 GB, free: 5.762 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001731/0.03993, allocations: 254.1 kB / 0.6569 GB, free: 5.473 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002674/0.0402, allocations: 271.8 kB / 0.6572 GB, free: 5.184 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.0402, allocations: 4 kB / 0.6572 GB, free: 5.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003788/0.04058, allocations: 377 kB / 0.6576 GB, free: 4.805 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.0406, allocations: 4 kB / 0.6576 GB, free: 4.801 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.0406, allocations: 4 kB / 0.6576 GB, free: 4.797 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.04062, allocations: 4 kB / 0.6576 GB, free: 4.793 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.04077, allocations: 67.91 kB / 0.6576 GB, free: 4.727 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.04077, allocations: 8.219 kB / 0.6576 GB, free: 4.719 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/0.04091, allocations: 39.66 kB / 0.6577 GB, free: 4.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.368e-05/0.04093, allocations: 16 kB / 0.6577 GB, free: 4.664 MB / 0.6198 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 (39): * Single equations (assignments): 39 * 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.0001393/0.04107, allocations: 185.6 kB / 0.6579 GB, free: 4.473 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.556e-05/0.04112, allocations: 51.67 kB / 0.6579 GB, free: 4.422 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005101/0.04163, allocations: 478.8 kB / 0.6584 GB, free: 3.953 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-06/0.04164, allocations: 15.94 kB / 0.6584 GB, free: 3.938 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.04165, allocations: 0 / 0.6584 GB, free: 3.938 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003786/0.04203, allocations: 0.5762 MB / 0.659 GB, free: 3.293 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.04306, allocations: 1.006 MB / 0.6599 GB, free: 2.219 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.04307, allocations: 11.94 kB / 0.66 GB, free: 2.207 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/0.04319, allocations: 52.09 kB / 0.66 GB, free: 2.156 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.0432, allocations: 4.047 kB / 0.66 GB, free: 2.152 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.04321, allocations: 15.97 kB / 0.66 GB, free: 2.137 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.04322, allocations: 4 kB / 0.66 GB, free: 2.133 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.04322, allocations: 11.92 kB / 0.66 GB, free: 2.121 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005987/0.04382, allocations: 0.6766 MB / 0.6607 GB, free: 1.41 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.04394, allocations: 99.52 kB / 0.6608 GB, free: 1.312 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.629e-05/0.04398, allocations: 8 kB / 0.6608 GB, free: 1.305 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.04411, allocations: 11.94 kB / 0.6608 GB, free: 1.293 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-05/0.04414, allocations: 35.89 kB / 0.6608 GB, free: 1.258 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/0.04416, allocations: 19.98 kB / 0.6609 GB, free: 1.238 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002543/0.04442, allocations: 342.9 kB / 0.6612 GB, free: 0.9062 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.04442, allocations: 0 / 0.6612 GB, free: 0.9062 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004307/0.04485, allocations: 203.5 kB / 0.6614 GB, free: 0.707 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (vol.dynBal.U,senT.T,senHeaFlo.T) * 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 (32): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.00104/0.04589, allocations: 1.392 MB / 0.6627 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003409/0.04623, allocations: 291.4 kB / 0.663 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.04623, allocations: 0 / 0.663 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.04638, allocations: 151.8 kB / 0.6632 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000821/0.0472, allocations: 325.4 kB / 0.6635 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003646/0.05084, allocations: 4.158 MB / 0.6675 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001829/0.05102, allocations: 274.2 kB / 0.6678 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002756/0.0513, allocations: 116.7 kB / 0.6679 GB, free: 9.785 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001857/0.05149, allocations: 196.4 kB / 0.6681 GB, free: 9.594 MB / 0.6355 GB Notification: Performance of SimCode: time 6.12e-07/0.05149, allocations: 0 / 0.6681 GB, free: 9.594 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3262/0.3776, allocations: 18.86 MB / 0.6865 GB, free: 68.16 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.462/7.84, allocations: 8.578 kB / 0.6865 GB, free: 68.16 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter_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_HeatMeter.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.736672586761415] Failed to read output from testmodel.py, exit status != 0: 7.929240392521024 7.938817753 7.904147344 Calling exit ...