Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007172/0.0007172, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.0007791/0.0007791, allocations: 166 kB / 22.43 MB, free: 2.141 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.8477/0.8477, allocations: 177.2 MB / 202.8 MB, free: 5.77 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7127/0.7127, allocations: 154.7 MB / 413.9 MB, free: 0.7539 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.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.HeatMeter,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_HeatMeter",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.0009098/0.0009098, allocations: 69.12 kB / 0.6183 GB, free: 13.59 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4596/0.4605, allocations: 102 MB / 0.7179 GB, free: 23.3 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.HeatMeter): time 0.01629/0.4768, allocations: 21.54 MB / 0.7389 GB, free: 8.809 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.006065/0.4829, allocations: 4.751 MB / 0.7436 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001162/0.4841, allocations: 40.81 kB / 0.7436 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0008226/0.4849, allocations: 279.8 kB / 0.7439 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00215/0.487, allocations: 0.837 MB / 0.7447 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001917/0.4889, allocations: 0.8254 MB / 0.7455 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002195/0.4911, allocations: 1.615 MB / 0.7471 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006692/0.4918, allocations: 383 kB / 0.7474 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002444/0.4943, allocations: 0.9513 MB / 0.7484 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006578/0.4949, allocations: 445.1 kB / 0.7488 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 7.145e-05/0.495, allocations: 50.28 kB / 0.7488 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001072/0.4961, allocations: 416.9 kB / 0.7492 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001679/0.4962, allocations: 149.8 kB / 0.7494 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.000315/0.4965, allocations: 256.2 kB / 0.7496 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001852/0.4984, allocations: 0.9831 MB / 0.7506 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.206e-05/0.4984, allocations: 5.094 kB / 0.7506 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.444e-06/0.4984, allocations: 0 / 0.7506 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.545e-05/0.4984, allocations: 3.938 kB / 0.7506 GB, free: 2.203 MB / 0.6355 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.001189/0.4996, allocations: 0.8283 MB / 0.7514 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.4997, allocations: 10.16 kB / 0.7514 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.131e-05/0.4997, allocations: 77.97 kB / 0.7515 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002104/0.4999, allocations: 71 kB / 0.7516 GB, free: 1.512 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008429/0.5008, allocations: 0.5113 MB / 0.7521 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.874e-05/0.5008, allocations: 33.86 kB / 0.7521 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.738e-05/0.5009, allocations: 37.66 kB / 0.7521 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005715/0.5014, allocations: 0.5026 MB / 0.7526 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.5015, allocations: 5 kB / 0.7526 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.633e-05/0.5015, allocations: 15.91 kB / 0.7526 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.543e-05/0.5015, allocations: 14.34 kB / 0.7526 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003886/0.5019, allocations: 302.2 kB / 0.7529 GB, free: 0.7461 MB / 0.6355 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.001903/0.5038, allocations: 1.53 MB / 0.7544 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004366/0.5042, allocations: 243.7 kB / 0.7547 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001435/0.5044, allocations: 111.5 kB / 0.7548 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003115/0.5047, allocations: 101.6 kB / 0.7549 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.5047, allocations: 36.58 kB / 0.7549 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=26): time 2.395e-06/0.5047, allocations: 4 kB / 0.7549 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of matching and sorting (n=26): time 0.0005939/0.5053, allocations: 382.1 kB / 0.7553 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.5053, allocations: 55.27 kB / 0.7553 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004787/0.5058, allocations: 480.8 kB / 0.7558 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.22e-05/0.5059, allocations: 33 kB / 0.7558 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/0.506, allocations: 264.5 kB / 0.7561 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.009e-05/0.5061, allocations: 98.23 kB / 0.7562 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.571e-05/0.5062, allocations: 70.77 kB / 0.7562 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.5063, allocations: 358.2 kB / 0.7566 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.5064, allocations: 96.45 kB / 0.7567 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/0.5066, allocations: 253.8 kB / 0.7569 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002986/0.5069, allocations: 274.1 kB / 0.7572 GB, free: 14 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.5069, allocations: 1.406 kB / 0.7572 GB, free: 14 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004665/0.5074, allocations: 381.9 kB / 0.7575 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.5074, allocations: 5.562 kB / 0.7575 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.435e-06/0.5074, allocations: 2.969 kB / 0.7575 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.5075, allocations: 7.703 kB / 0.7575 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001894/0.5076, allocations: 74.05 kB / 0.7576 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.5077, allocations: 3.734 kB / 0.7576 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002356/0.5079, allocations: 38.84 kB / 0.7577 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.149e-05/0.5079, allocations: 18.2 kB / 0.7577 GB, free: 13.78 MB / 0.6511 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.0001831/0.5081, allocations: 179.9 kB / 0.7578 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.403e-05/0.5082, allocations: 52.14 kB / 0.7579 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006781/0.5089, allocations: 489.4 kB / 0.7584 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.817e-05/0.5089, allocations: 13.89 kB / 0.7584 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.5089, allocations: 0 / 0.7584 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004702/0.5094, allocations: 0.5725 MB / 0.7589 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00156/0.5109, allocations: 1.004 MB / 0.7599 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.5109, allocations: 1.125 kB / 0.7599 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001587/0.5111, allocations: 58.42 kB / 0.76 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.5111, allocations: 3.797 kB / 0.76 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.5111, allocations: 13.58 kB / 0.76 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.73e-06/0.5111, allocations: 3.906 kB / 0.76 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.5111, allocations: 2.312 kB / 0.76 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007353/0.5119, allocations: 0.6752 MB / 0.7607 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002062/0.5121, allocations: 102.1 kB / 0.7607 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.98e-05/0.5121, allocations: 8.594 kB / 0.7608 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/0.5123, allocations: 10.31 kB / 0.7608 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.16e-05/0.5123, allocations: 25.25 kB / 0.7608 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.658e-05/0.5124, allocations: 21.97 kB / 0.7608 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000393/0.5128, allocations: 346.5 kB / 0.7611 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8e-08/0.5128, allocations: 0 / 0.7611 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007152/0.5135, allocations: 204.7 kB / 0.7613 GB, free: 11.69 MB / 0.6511 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.0013/0.5148, allocations: 1.388 MB / 0.7627 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004796/0.5153, allocations: 294.5 kB / 0.763 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.5153, allocations: 1.125 kB / 0.763 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001808/0.5154, allocations: 153.5 kB / 0.7631 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.5165, allocations: 343.4 kB / 0.7634 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005374/0.5218, allocations: 4.227 MB / 0.7676 GB, free: 7.605 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.5221, allocations: 272.6 kB / 0.7678 GB, free: 7.43 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0006023/0.5227, allocations: 117.3 kB / 0.7679 GB, free: 7.375 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002478/0.5229, allocations: 202.8 kB / 0.7681 GB, free: 7.211 MB / 0.6511 GB Notification: Performance of SimCode: time 3.156e-06/0.5229, allocations: 0 / 0.7681 GB, free: 7.211 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04159/0.5645, allocations: 18.9 MB / 0.7866 GB, free: 11.48 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.98/7.544, allocations: 4 kB / 0.7866 GB, free: 11.48 MB / 0.6667 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_Sensors_Examples_HeatMeter.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.251164197106846] Failed to read output from testmodel.py, exit status != 0: 7.633615596103482 7.6436543740000005 7.143270417 Calling exit ...