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.00117/0.00117, 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.001399/0.001399, allocations: 169.9 kB / 22.45 MB, free: 2.109 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.8955/0.8955, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.6972/0.6972, allocations: 154.6 MB / 413.8 MB, free: 0.8047 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: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 0.6181 GB, free: 13.52 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.159e-05/2.34e-05, allocations: 7.391 kB / 0.6181 GB, free: 13.52 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.HeatMeter): time 0.01769/0.01772, allocations: 21.47 MB / 0.6391 GB, free: 7.953 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.005287/0.023, allocations: 4.76 MB / 0.6437 GB, free: 3.176 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006117/0.02361, allocations: 39.69 kB / 0.6438 GB, free: 3.137 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006302/0.02424, allocations: 293.9 kB / 0.6441 GB, free: 2.848 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001427/0.02567, allocations: 0.8428 MB / 0.6449 GB, free: 2 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001284/0.02696, allocations: 0.826 MB / 0.6457 GB, free: 1.184 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001551/0.02851, allocations: 1.655 MB / 0.6473 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005075/0.02901, allocations: 402 kB / 0.6477 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001307/0.03032, allocations: 0.9353 MB / 0.6486 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004134/0.03073, allocations: 390.7 kB / 0.649 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.56e-05/0.03079, allocations: 48 kB / 0.649 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006524/0.03144, allocations: 422.9 kB / 0.6494 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.03156, allocations: 155.3 kB / 0.6496 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000163/0.03172, allocations: 215.5 kB / 0.6498 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0008795/0.0326, allocations: 0.9542 MB / 0.6507 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.0326, allocations: 0 / 0.6507 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.042e-06/0.0326, allocations: 0 / 0.6507 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.03261, allocations: 0 / 0.6507 GB, free: 12.02 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.0008958/0.03351, allocations: 0.8276 MB / 0.6515 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.03355, allocations: 12.03 kB / 0.6515 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.421e-05/0.03361, allocations: 74.72 kB / 0.6516 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001447/0.03376, allocations: 72.52 kB / 0.6517 GB, free: 11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006721/0.03443, allocations: 0.503 MB / 0.6522 GB, free: 10.47 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.03445, allocations: 29.38 kB / 0.6522 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.02e-05/0.0345, allocations: 48.08 kB / 0.6522 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000476/0.03498, allocations: 0.5095 MB / 0.6527 GB, free: 9.848 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.03499, allocations: 0 / 0.6527 GB, free: 9.848 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.638e-05/0.03502, allocations: 20 kB / 0.6528 GB, free: 9.828 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.531e-05/0.03503, allocations: 8 kB / 0.6528 GB, free: 9.82 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003305/0.03536, allocations: 307.7 kB / 0.6531 GB, free: 9.523 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.001541/0.0369, allocations: 1.517 MB / 0.6545 GB, free: 7.945 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003724/0.03727, allocations: 246.8 kB / 0.6548 GB, free: 7.695 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.03741, allocations: 116.8 kB / 0.6549 GB, free: 7.578 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002491/0.03766, allocations: 103.9 kB / 0.655 GB, free: 7.477 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.03768, allocations: 42.5 kB / 0.655 GB, free: 7.426 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=26): time 1.904e-06/0.03769, allocations: 0 / 0.655 GB, free: 7.426 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26): time 0.0005011/0.03819, allocations: 361.2 kB / 0.6554 GB, free: 7.066 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.03822, allocations: 55.41 kB / 0.6554 GB, free: 7 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00043/0.03865, allocations: 489.9 kB / 0.6559 GB, free: 6.512 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.03867, allocations: 29.7 kB / 0.6559 GB, free: 6.477 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.03882, allocations: 268.3 kB / 0.6562 GB, free: 6.211 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.142e-05/0.03887, allocations: 91.19 kB / 0.6563 GB, free: 6.121 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.208e-05/0.03894, allocations: 66.02 kB / 0.6563 GB, free: 6.051 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.03905, allocations: 358.8 kB / 0.6567 GB, free: 5.691 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.03917, allocations: 108.6 kB / 0.6568 GB, free: 5.586 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000173/0.03934, allocations: 250.1 kB / 0.657 GB, free: 5.301 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002731/0.03961, allocations: 271.8 kB / 0.6573 GB, free: 5.012 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.03962, allocations: 4 kB / 0.6573 GB, free: 5.008 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004443/0.04006, allocations: 373.5 kB / 0.6576 GB, free: 4.637 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.04007, allocations: 8 kB / 0.6576 GB, free: 4.629 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.04008, allocations: 0 / 0.6576 GB, free: 4.629 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.04009, allocations: 4 kB / 0.6576 GB, free: 4.625 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.04025, allocations: 75.89 kB / 0.6577 GB, free: 4.551 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.04025, allocations: 4 kB / 0.6577 GB, free: 4.547 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001323/0.04039, allocations: 43.55 kB / 0.6578 GB, free: 4.504 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.997e-05/0.04042, allocations: 20.2 kB / 0.6578 GB, free: 4.484 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.0001345/0.04055, allocations: 181.8 kB / 0.6579 GB, free: 4.297 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.534e-05/0.04061, allocations: 51.67 kB / 0.658 GB, free: 4.246 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005118/0.04112, allocations: 475.4 kB / 0.6584 GB, free: 3.781 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.04113, allocations: 11.92 kB / 0.6585 GB, free: 3.77 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.04113, allocations: 0 / 0.6585 GB, free: 3.77 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003777/0.04151, allocations: 0.5801 MB / 0.659 GB, free: 3.121 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.04256, allocations: 1.01 MB / 0.66 GB, free: 2.043 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-06/0.04257, allocations: 7.938 kB / 0.66 GB, free: 2.035 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.04269, allocations: 51.91 kB / 0.6601 GB, free: 1.984 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.04269, allocations: 4 kB / 0.6601 GB, free: 1.98 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.04271, allocations: 8.188 kB / 0.6601 GB, free: 1.973 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.04271, allocations: 8 kB / 0.6601 GB, free: 1.965 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.04271, allocations: 3.938 kB / 0.6601 GB, free: 1.961 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005665/0.04328, allocations: 0.6722 MB / 0.6607 GB, free: 1.254 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000259/0.04354, allocations: 107.5 kB / 0.6608 GB, free: 1.148 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.855e-05/0.04358, allocations: 8 kB / 0.6609 GB, free: 1.141 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.04372, allocations: 11.98 kB / 0.6609 GB, free: 1.129 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.212e-05/0.04375, allocations: 27.89 kB / 0.6609 GB, free: 1.102 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/0.04377, allocations: 16 kB / 0.6609 GB, free: 1.086 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002497/0.04402, allocations: 350.8 kB / 0.6612 GB, free: 0.7461 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.04402, allocations: 4 kB / 0.6612 GB, free: 0.7422 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004029/0.04442, allocations: 203.5 kB / 0.6614 GB, free: 0.543 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.001004/0.04542, allocations: 1.386 MB / 0.6628 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003156/0.04574, allocations: 288.1 kB / 0.6631 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.04574, allocations: 0 / 0.6631 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.04589, allocations: 165 kB / 0.6632 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008316/0.04672, allocations: 326.7 kB / 0.6635 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003382/0.0501, allocations: 4.162 MB / 0.6676 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.0504, allocations: 262.5 kB / 0.6679 GB, free: 9.75 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002296/0.05063, allocations: 124.7 kB / 0.668 GB, free: 9.625 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001729/0.0508, allocations: 188.4 kB / 0.6682 GB, free: 9.441 MB / 0.6355 GB Notification: Performance of SimCode: time 7.42e-07/0.0508, allocations: 0 / 0.6682 GB, free: 9.441 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2779/0.3287, allocations: 18.86 MB / 0.6866 GB, free: 94.96 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.975/7.304, allocations: 9.062 kB / 0.6866 GB, free: 94.96 MB / 0.6355 GB " [Timeout remaining time 653] (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.151761649176478] Failed to read output from testmodel.py, exit status != 0: 7.3946165489032865 7.404263136 7.370097515 Calling exit ...