Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001256/0.001256, allocations: 104.3 kB / 19.72 MB, free: 420 kB / 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.001665/0.001665, allocations: 207.8 kB / 23.02 MB, free: 2.965 MB / 13.93 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.9544/0.9544, allocations: 230.6 MB / 256.8 MB, free: 9.582 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.907/1.907, allocations: 0.5046 GB / 0.8104 GB, free: 2.77 MB / 0.6511 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_13_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_13_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009909/0.0009909, allocations: 75.89 kB / 1.177 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6962/0.6972, allocations: 180 MB / 1.352 GB, free: 1.559 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005021/0.7022, allocations: 4.441 MB / 1.357 GB, free: 13.1 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.0007567/0.7029, allocations: 0.7516 MB / 1.358 GB, free: 12.34 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.504e-05/0.703, allocations: 0 / 1.358 GB, free: 12.34 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001803/0.7032, allocations: 35.78 kB / 1.358 GB, free: 12.31 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 4.377e-05/0.7032, allocations: 35.64 kB / 1.358 GB, free: 12.27 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004803/0.7037, allocations: 179.4 kB / 1.358 GB, free: 12.1 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001582/0.7039, allocations: 171.4 kB / 1.358 GB, free: 11.93 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.545e-05/0.704, allocations: 13.09 kB / 1.358 GB, free: 11.91 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001525/0.7041, allocations: 83.73 kB / 1.358 GB, free: 11.83 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.767e-05/0.7042, allocations: 71.67 kB / 1.358 GB, free: 11.76 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.7042, allocations: 12 kB / 1.358 GB, free: 11.75 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002291/0.7044, allocations: 143.8 kB / 1.358 GB, free: 11.61 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 2.578e-05/0.7045, allocations: 35.91 kB / 1.358 GB, free: 11.57 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 4.795e-05/0.7045, allocations: 51.78 kB / 1.358 GB, free: 11.52 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003064/0.7048, allocations: 249.4 kB / 1.359 GB, free: 11.28 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.7048, allocations: 0 / 1.359 GB, free: 11.28 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.904e-06/0.7048, allocations: 0 / 1.359 GB, free: 11.28 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.7048, allocations: 0 / 1.359 GB, free: 11.28 MB / 1.042 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.0006426/0.7055, allocations: 409.4 kB / 1.359 GB, free: 10.85 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.7055, allocations: 12.92 kB / 1.359 GB, free: 10.84 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.62e-05/0.7056, allocations: 34.75 kB / 1.359 GB, free: 10.8 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.754e-05/0.7056, allocations: 16.84 kB / 1.359 GB, free: 10.78 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.7057, allocations: 134.3 kB / 1.359 GB, free: 10.62 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.7057, allocations: 11.94 kB / 1.359 GB, free: 10.61 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.7057, allocations: 12 kB / 1.359 GB, free: 10.6 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002309/0.706, allocations: 113.6 kB / 1.359 GB, free: 10.48 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.706, allocations: 0 / 1.359 GB, free: 10.48 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.706, allocations: 7.984 kB / 1.359 GB, free: 10.48 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.706, allocations: 4 kB / 1.359 GB, free: 10.47 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000229/0.7062, allocations: 143.8 kB / 1.359 GB, free: 10.33 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006398/0.7068, allocations: 407.7 kB / 1.36 GB, free: 9.891 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001886/0.707, allocations: 115 kB / 1.36 GB, free: 9.77 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.7071, allocations: 64.81 kB / 1.36 GB, free: 9.703 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006751/0.7078, allocations: 480.3 kB / 1.36 GB, free: 9.215 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.7078, allocations: 38.5 kB / 1.36 GB, free: 9.168 MB / 1.042 GB Notification: Performance of pre-optimization done (n=12): time 1.412e-06/0.7078, allocations: 0 / 1.36 GB, free: 9.168 MB / 1.042 GB Notification: Performance of matching and sorting (n=12): time 0.000404/0.7082, allocations: 213.4 kB / 1.361 GB, free: 8.953 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.799e-05/0.7083, allocations: 51.41 kB / 1.361 GB, free: 8.891 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.7084, allocations: 165.1 kB / 1.361 GB, free: 8.719 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.7084, allocations: 37.7 kB / 1.361 GB, free: 8.676 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 6.022e-05/0.7085, allocations: 104.5 kB / 1.361 GB, free: 8.566 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.337e-05/0.7085, allocations: 47.56 kB / 1.361 GB, free: 8.52 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.427e-05/0.7085, allocations: 49.7 kB / 1.361 GB, free: 8.465 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.257e-05/0.7086, allocations: 326.8 kB / 1.361 GB, free: 8.137 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.7088, allocations: 71.94 kB / 1.362 GB, free: 8.066 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.7089, allocations: 113.9 kB / 1.362 GB, free: 7.945 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000232/0.7091, allocations: 178.5 kB / 1.362 GB, free: 7.762 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.7091, allocations: 0 / 1.362 GB, free: 7.762 MB / 1.042 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003264/0.7095, allocations: 249.1 kB / 1.362 GB, free: 7.512 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.7095, allocations: 8 kB / 1.362 GB, free: 7.504 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.7095, allocations: 0 / 1.362 GB, free: 7.504 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.7095, allocations: 4 kB / 1.362 GB, free: 7.5 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.7096, allocations: 59.89 kB / 1.362 GB, free: 7.441 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.7097, allocations: 4 kB / 1.362 GB, free: 7.438 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.498e-05/0.7097, allocations: 27.88 kB / 1.362 GB, free: 7.41 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.218e-05/0.7098, allocations: 16.02 kB / 1.362 GB, free: 7.395 MB / 1.042 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.59e-05/0.7098, allocations: 126.3 kB / 1.362 GB, free: 7.262 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.7099, allocations: 15.84 kB / 1.362 GB, free: 7.246 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000304/0.7102, allocations: 171 kB / 1.362 GB, free: 7.07 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.7102, allocations: 0 / 1.362 GB, free: 7.07 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.7102, allocations: 0 / 1.362 GB, free: 7.07 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.7102, allocations: 4 kB / 1.362 GB, free: 7.066 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.7103, allocations: 180.6 kB / 1.363 GB, free: 6.844 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.7103, allocations: 3.938 kB / 1.363 GB, free: 6.84 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.559e-05/0.7104, allocations: 27.92 kB / 1.363 GB, free: 6.812 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.7104, allocations: 7.938 kB / 1.363 GB, free: 6.805 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.7104, allocations: 7.984 kB / 1.363 GB, free: 6.797 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.7104, allocations: 0 / 1.363 GB, free: 6.797 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.7104, allocations: 0 / 1.363 GB, free: 6.797 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000253/0.7107, allocations: 251.4 kB / 1.363 GB, free: 6.535 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000295/0.711, allocations: 23.83 kB / 1.363 GB, free: 6.512 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.711, allocations: 4 kB / 1.363 GB, free: 6.508 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.47e-05/0.711, allocations: 11.98 kB / 1.363 GB, free: 6.496 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.217e-05/0.7111, allocations: 11.97 kB / 1.363 GB, free: 6.484 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.7111, allocations: 8 kB / 1.363 GB, free: 6.477 MB / 1.042 GB Notification: Performance of sorting global known variables: time 5.516e-05/0.7111, allocations: 116.9 kB / 1.363 GB, free: 6.363 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.7111, allocations: 0 / 1.363 GB, free: 6.363 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002419/0.7114, allocations: 59.88 kB / 1.363 GB, free: 6.305 MB / 1.042 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.0005873/0.712, allocations: 0.8623 MB / 1.364 GB, free: 5.418 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0002948/0.7123, allocations: 159.8 kB / 1.364 GB, free: 5.262 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.7123, allocations: 0 / 1.364 GB, free: 5.262 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 9.54e-05/0.7124, allocations: 63.89 kB / 1.364 GB, free: 5.199 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.7127, allocations: 30.16 kB / 1.364 GB, free: 5.172 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/0.7143, allocations: 1.954 MB / 1.366 GB, free: 3.121 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.854e-05/0.7144, allocations: 93.48 kB / 1.366 GB, free: 3.012 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 6.607e-05/0.7144, allocations: 17.19 kB / 1.366 GB, free: 2.996 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.366e-05/0.7145, allocations: 39.36 kB / 1.366 GB, free: 2.957 MB / 1.042 GB Notification: Performance of SimCode: time 5.71e-07/0.7145, allocations: 0 / 1.366 GB, free: 2.957 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08354/0.798, allocations: 4.946 MB / 1.371 GB, free: 14.18 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.913/7.711, allocations: 13.42 kB / 1.371 GB, free: 14.18 MB / 1.057 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --stepSize=0.1 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu) > Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_fmpy_res.csv --start-time 0 --stop-time 250 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 ../Buildings_13_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu) > Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.4585370272398]