Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.0007509/0.0007509, 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.0007776/0.0007776, allocations: 169.9 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.8725/0.8725, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.693/0.693, allocations: 154.6 MB / 413.8 MB, free: 0.7734 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.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.6181 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.533e-05/1.681e-05, allocations: 3.281 kB / 0.6181 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004316/0.004333, allocations: 4.382 MB / 0.6224 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0006486/0.004981, allocations: 0.7593 MB / 0.6231 GB, free: 8.438 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.141e-05/0.005033, allocations: 3.938 kB / 0.6231 GB, free: 8.434 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001435/0.005176, allocations: 23.84 kB / 0.6232 GB, free: 8.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.652e-05/0.005213, allocations: 43.64 kB / 0.6232 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000401/0.005614, allocations: 175.2 kB / 0.6234 GB, free: 8.195 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001421/0.005756, allocations: 179.3 kB / 0.6235 GB, free: 8.02 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.387e-05/0.005839, allocations: 13.3 kB / 0.6236 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000174/0.006014, allocations: 119.7 kB / 0.6237 GB, free: 7.891 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.499e-05/0.006089, allocations: 71.77 kB / 0.6237 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.369e-05/0.006112, allocations: 12 kB / 0.6237 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002036/0.006316, allocations: 131.8 kB / 0.6239 GB, free: 7.68 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.578e-05/0.006342, allocations: 31.89 kB / 0.6239 GB, free: 7.648 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.13e-05/0.006383, allocations: 47.89 kB / 0.6239 GB, free: 7.602 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002783/0.006661, allocations: 259.2 kB / 0.6242 GB, free: 7.348 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.006663, allocations: 0 / 0.6242 GB, free: 7.348 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.234e-06/0.006665, allocations: 0 / 0.6242 GB, free: 7.348 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.006671, allocations: 4 kB / 0.6242 GB, free: 7.344 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006094/0.00728, allocations: 405.4 kB / 0.6246 GB, free: 6.918 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.00732, allocations: 8.031 kB / 0.6246 GB, free: 6.91 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.65e-05/0.007357, allocations: 46.73 kB / 0.6246 GB, free: 6.855 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.007391, allocations: 12.84 kB / 0.6247 GB, free: 6.844 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.007494, allocations: 129.6 kB / 0.6248 GB, free: 6.691 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.007509, allocations: 12.38 kB / 0.6248 GB, free: 6.68 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/0.007526, allocations: 12.38 kB / 0.6248 GB, free: 6.668 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002265/0.007752, allocations: 124.1 kB / 0.6249 GB, free: 6.543 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.545e-06/0.00776, allocations: 192 / 0.6249 GB, free: 6.543 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.007777, allocations: 7.875 kB / 0.6249 GB, free: 6.535 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.007783, allocations: 7.984 kB / 0.6249 GB, free: 6.527 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002282/0.008011, allocations: 139.9 kB / 0.6251 GB, free: 6.391 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005929/0.008604, allocations: 407.6 kB / 0.6255 GB, free: 5.949 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.008785, allocations: 126.5 kB / 0.6256 GB, free: 5.816 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.967e-05/0.008884, allocations: 64.81 kB / 0.6256 GB, free: 5.75 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006/0.009484, allocations: 472 kB / 0.6261 GB, free: 5.27 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.832e-05/0.009503, allocations: 30.56 kB / 0.6261 GB, free: 5.23 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=12): time 1.112e-06/0.009504, allocations: 0 / 0.6261 GB, free: 5.23 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12): time 0.0003958/0.0099, allocations: 219.9 kB / 0.6263 GB, free: 5.012 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.00993, allocations: 55.34 kB / 0.6264 GB, free: 4.945 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.01004, allocations: 172.6 kB / 0.6265 GB, free: 4.766 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.01006, allocations: 29.7 kB / 0.6266 GB, free: 4.73 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.546e-05/0.01011, allocations: 108.5 kB / 0.6267 GB, free: 4.621 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.01013, allocations: 43.58 kB / 0.6267 GB, free: 4.578 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.268e-05/0.01019, allocations: 49.7 kB / 0.6268 GB, free: 4.523 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.263e-05/0.01027, allocations: 326.8 kB / 0.6271 GB, free: 4.195 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.01039, allocations: 79.88 kB / 0.6272 GB, free: 4.117 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.01053, allocations: 107.4 kB / 0.6273 GB, free: 4 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002399/0.01077, allocations: 178.4 kB / 0.6274 GB, free: 3.816 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.01077, allocations: 0 / 0.6274 GB, free: 3.816 MB / 0.5886 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003196/0.01109, allocations: 237.4 kB / 0.6277 GB, free: 3.578 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.01111, allocations: 11.98 kB / 0.6277 GB, free: 3.566 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.01112, allocations: 0 / 0.6277 GB, free: 3.566 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.01113, allocations: 8.094 kB / 0.6277 GB, free: 3.559 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.01127, allocations: 55.91 kB / 0.6277 GB, free: 3.504 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.01128, allocations: 3.938 kB / 0.6277 GB, free: 3.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.015e-05/0.01135, allocations: 31.83 kB / 0.6278 GB, free: 3.469 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.117e-05/0.01137, allocations: 11.98 kB / 0.6278 GB, free: 3.457 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * 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 6.904e-05/0.01144, allocations: 118.8 kB / 0.6279 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.754e-05/0.01146, allocations: 7.953 kB / 0.6279 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002793/0.01173, allocations: 186.9 kB / 0.6281 GB, free: 3.133 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.01174, allocations: 0 / 0.6281 GB, free: 3.133 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.01174, allocations: 3.938 kB / 0.6281 GB, free: 3.129 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.01175, allocations: 0 / 0.6281 GB, free: 3.129 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.0119, allocations: 180.7 kB / 0.6282 GB, free: 2.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.0119, allocations: 0 / 0.6282 GB, free: 2.91 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.144e-05/0.01197, allocations: 27.97 kB / 0.6283 GB, free: 2.883 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.01197, allocations: 0 / 0.6283 GB, free: 2.883 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.01198, allocations: 8 kB / 0.6283 GB, free: 2.875 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.01199, allocations: 0 / 0.6283 GB, free: 2.875 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.01199, allocations: 7.938 kB / 0.6283 GB, free: 2.867 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002477/0.01224, allocations: 267 kB / 0.6285 GB, free: 2.594 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.38e-05/0.01227, allocations: 23.88 kB / 0.6286 GB, free: 2.57 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.01228, allocations: 0 / 0.6286 GB, free: 2.57 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.303e-05/0.01235, allocations: 19.98 kB / 0.6286 GB, free: 2.551 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.106e-05/0.01239, allocations: 15.91 kB / 0.6286 GB, free: 2.535 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.01239, allocations: 0 / 0.6286 GB, free: 2.535 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0003442/0.01274, allocations: 120 kB / 0.6287 GB, free: 2.418 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.01274, allocations: 0 / 0.6287 GB, free: 2.418 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002236/0.01296, allocations: 59.81 kB / 0.6288 GB, free: 2.359 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (12): * Single equations (assignments): 12 * 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.0005596/0.01352, allocations: 0.8475 MB / 0.6296 GB, free: 1.484 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002917/0.01381, allocations: 167.3 kB / 0.6298 GB, free: 1.324 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01381, allocations: 0 / 0.6298 GB, free: 1.324 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.641e-05/0.01391, allocations: 67.89 kB / 0.6298 GB, free: 1.258 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/0.01415, allocations: 23.86 kB / 0.6298 GB, free: 1.234 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.0158, allocations: 1.957 MB / 0.6318 GB, free: 15.18 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.835e-05/0.01586, allocations: 93.81 kB / 0.6318 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.14e-05/0.01592, allocations: 24.84 kB / 0.6319 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.112e-05/0.01598, allocations: 36.48 kB / 0.6319 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of SimCode: time 5.91e-07/0.01599, allocations: 0 / 0.6319 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01757/0.03356, allocations: 5.08 MB / 0.6369 GB, free: 10.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.79/6.823, allocations: 7.234 kB / 0.6369 GB, free: 10.13 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.csv --start-time 0 --stop-time 250 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.508199953474104] Failed to read output from testmodel.py, exit status != 0: 6.904086868278682 6.916186425 6.907866303 Calling exit ...