Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008213/0.0008213, 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.0008515/0.0008515, 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.8823/0.8823, 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 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.7036/0.7036, allocations: 154.5 MB / 413.7 MB, free: 0.8398 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.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.485e-06/2.485e-06, allocations: 3.984 kB / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.316e-05/1.564e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004784/0.0048, allocations: 4.379 MB / 0.6223 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007514/0.005551, allocations: 0.7516 MB / 0.6231 GB, free: 8.527 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.148e-05/0.005613, allocations: 0 / 0.6231 GB, free: 8.527 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.000167/0.00578, allocations: 31.78 kB / 0.6231 GB, free: 8.496 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.179e-05/0.005822, allocations: 35.64 kB / 0.6231 GB, free: 8.461 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004902/0.006312, allocations: 179.2 kB / 0.6233 GB, free: 8.285 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001609/0.006473, allocations: 183.3 kB / 0.6235 GB, free: 8.105 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.186e-05/0.006555, allocations: 13.3 kB / 0.6235 GB, free: 8.094 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001674/0.006722, allocations: 115.7 kB / 0.6236 GB, free: 7.98 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.977e-05/0.006792, allocations: 59.84 kB / 0.6237 GB, free: 7.922 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.006812, allocations: 16 kB / 0.6237 GB, free: 7.906 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002228/0.007034, allocations: 135.8 kB / 0.6238 GB, free: 7.773 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.631e-05/0.007061, allocations: 35.89 kB / 0.6238 GB, free: 7.738 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.244e-05/0.007103, allocations: 47.89 kB / 0.6239 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.00028/0.007383, allocations: 255.2 kB / 0.6241 GB, free: 7.441 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.007385, allocations: 0 / 0.6241 GB, free: 7.441 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.61e-07/0.007386, allocations: 3.938 kB / 0.6241 GB, free: 7.438 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.007395, allocations: 0 / 0.6241 GB, free: 7.438 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.0005955/0.00799, allocations: 417.4 kB / 0.6245 GB, free: 7 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.008028, allocations: 9.469 kB / 0.6245 GB, free: 6.992 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.391e-05/0.008062, allocations: 42.75 kB / 0.6246 GB, free: 6.941 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.375e-05/0.008095, allocations: 12.84 kB / 0.6246 GB, free: 6.93 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.465e-05/0.00818, allocations: 121.7 kB / 0.6247 GB, free: 6.785 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.008193, allocations: 8.375 kB / 0.6247 GB, free: 6.777 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.00821, allocations: 12.38 kB / 0.6247 GB, free: 6.766 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000218/0.008428, allocations: 124.3 kB / 0.6249 GB, free: 6.641 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.008437, allocations: 4.125 kB / 0.6249 GB, free: 6.637 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.008449, allocations: 7.938 kB / 0.6249 GB, free: 6.629 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.008454, allocations: 4 kB / 0.6249 GB, free: 6.625 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002261/0.00868, allocations: 139.9 kB / 0.625 GB, free: 6.488 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006065/0.009287, allocations: 411.7 kB / 0.6254 GB, free: 6.043 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.009468, allocations: 110.5 kB / 0.6255 GB, free: 5.926 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.009573, allocations: 72.98 kB / 0.6256 GB, free: 5.852 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006217/0.01019, allocations: 476.1 kB / 0.626 GB, free: 5.367 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.01021, allocations: 34.56 kB / 0.6261 GB, free: 5.324 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.01022, allocations: 0 / 0.6261 GB, free: 5.324 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12): time 0.0003958/0.01061, allocations: 220.1 kB / 0.6263 GB, free: 5.105 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.01064, allocations: 55.34 kB / 0.6263 GB, free: 5.039 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.01075, allocations: 169.3 kB / 0.6265 GB, free: 4.863 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.01076, allocations: 25.7 kB / 0.6265 GB, free: 4.832 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.123e-05/0.01081, allocations: 108.5 kB / 0.6266 GB, free: 4.723 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.01083, allocations: 47.58 kB / 0.6267 GB, free: 4.676 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.338e-05/0.01089, allocations: 49.7 kB / 0.6267 GB, free: 4.621 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.358e-05/0.01097, allocations: 322.8 kB / 0.627 GB, free: 4.297 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.01109, allocations: 75.94 kB / 0.6271 GB, free: 4.223 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.01123, allocations: 110.2 kB / 0.6272 GB, free: 4.105 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002426/0.01148, allocations: 174.5 kB / 0.6274 GB, free: 3.926 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.01148, allocations: 0 / 0.6274 GB, free: 3.926 MB / 0.5886 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003187/0.0118, allocations: 245.2 kB / 0.6276 GB, free: 3.68 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.01181, allocations: 8 kB / 0.6276 GB, free: 3.672 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.01181, allocations: 0 / 0.6276 GB, free: 3.672 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.01183, allocations: 4 kB / 0.6276 GB, free: 3.668 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.01197, allocations: 55.89 kB / 0.6277 GB, free: 3.613 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.01198, allocations: 4.031 kB / 0.6277 GB, free: 3.609 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.455e-05/0.01205, allocations: 35.83 kB / 0.6277 GB, free: 3.574 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.01207, allocations: 12 kB / 0.6277 GB, free: 3.562 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 7.199e-05/0.01214, allocations: 126.8 kB / 0.6278 GB, free: 3.43 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.852e-05/0.01216, allocations: 7.953 kB / 0.6278 GB, free: 3.422 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002721/0.01243, allocations: 171 kB / 0.628 GB, free: 3.25 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.01244, allocations: 7.984 kB / 0.628 GB, free: 3.242 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.01244, allocations: 3.938 kB / 0.628 GB, free: 3.238 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.01244, allocations: 0 / 0.628 GB, free: 3.238 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.01258, allocations: 172.7 kB / 0.6282 GB, free: 3.027 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.01258, allocations: 0 / 0.6282 GB, free: 3.027 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.414e-05/0.01266, allocations: 39.84 kB / 0.6282 GB, free: 2.988 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.01266, allocations: 0 / 0.6282 GB, free: 2.988 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.01267, allocations: 8 kB / 0.6282 GB, free: 2.98 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.01267, allocations: 0 / 0.6282 GB, free: 2.98 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.01267, allocations: 3.938 kB / 0.6282 GB, free: 2.977 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002393/0.01291, allocations: 259.4 kB / 0.6285 GB, free: 2.707 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.944e-05/0.01294, allocations: 15.94 kB / 0.6285 GB, free: 2.691 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.01295, allocations: 4 kB / 0.6285 GB, free: 2.688 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.455e-05/0.01302, allocations: 11.98 kB / 0.6285 GB, free: 2.676 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.9e-05/0.01305, allocations: 23.84 kB / 0.6285 GB, free: 2.652 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.9e-06/0.01306, allocations: 3.984 kB / 0.6285 GB, free: 2.648 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0003043/0.01336, allocations: 124.2 kB / 0.6286 GB, free: 2.527 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.01336, allocations: 3.938 kB / 0.6286 GB, free: 2.523 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002333/0.0136, allocations: 67.8 kB / 0.6287 GB, free: 2.457 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.0005318/0.01413, allocations: 0.8443 MB / 0.6295 GB, free: 1.586 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002841/0.01441, allocations: 171 kB / 0.6297 GB, free: 1.422 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.01442, allocations: 4 kB / 0.6297 GB, free: 1.418 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.495e-05/0.01451, allocations: 64.14 kB / 0.6298 GB, free: 1.355 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.01475, allocations: 19.92 kB / 0.6298 GB, free: 1.336 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/0.01635, allocations: 1.954 MB / 0.6317 GB, free: 15.28 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.397e-05/0.0164, allocations: 93.81 kB / 0.6318 GB, free: 15.17 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.243e-05/0.01646, allocations: 16.64 kB / 0.6318 GB, free: 15.16 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.103e-05/0.01652, allocations: 48.42 kB / 0.6318 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of SimCode: time 7.11e-07/0.01652, allocations: 0 / 0.6318 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01708/0.03361, allocations: 5.077 MB / 0.6368 GB, free: 10.24 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.978/7.012, allocations: 6.688 kB / 0.6368 GB, free: 10.23 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.736047639511526] Failed to read output from testmodel.py, exit status != 0: 7.094550436362624 7.107570643 7.098448142 Calling exit ...