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.0008286/0.0008286, allocations: 80.55 kB / 19.96 MB, free: 4.598 MB / 18.57 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.001087/0.001087, allocations: 173.2 kB / 23.24 MB, free: 1.324 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.9034/0.9034, allocations: 177.1 MB / 203.5 MB, free: 5.715 MB / 186.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.878/1.878, allocations: 389.6 MB / 0.6343 GB, free: 12.58 MB / 0.6042 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 1.723e-06/1.723e-06, allocations: 0 / 1.001 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.994e-05/2.166e-05, allocations: 10.22 kB / 1.001 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004782/0.004804, allocations: 4.417 MB / 1.005 GB, free: 9.035 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007847/0.005589, allocations: 0.7553 MB / 1.006 GB, free: 8.277 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.477e-05/0.005663, allocations: 7.875 kB / 1.006 GB, free: 8.27 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001856/0.005849, allocations: 27.83 kB / 1.006 GB, free: 8.242 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.061e-05/0.0059, allocations: 39.66 kB / 1.006 GB, free: 8.203 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005997/0.006499, allocations: 175.2 kB / 1.006 GB, free: 8.031 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001856/0.006685, allocations: 183.3 kB / 1.006 GB, free: 7.852 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.842e-05/0.006773, allocations: 9.297 kB / 1.006 GB, free: 7.844 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003453/0.007119, allocations: 111.8 kB / 1.006 GB, free: 7.734 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.907e-05/0.007198, allocations: 63.86 kB / 1.006 GB, free: 7.672 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.007218, allocations: 12 kB / 1.006 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002702/0.007488, allocations: 143.7 kB / 1.007 GB, free: 7.52 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.746e-05/0.007515, allocations: 31.89 kB / 1.007 GB, free: 7.488 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.926e-05/0.007565, allocations: 55.89 kB / 1.007 GB, free: 7.434 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002946/0.007859, allocations: 259.2 kB / 1.007 GB, free: 7.18 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.007863, allocations: 0 / 1.007 GB, free: 7.18 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.282e-06/0.007864, allocations: 0 / 1.007 GB, free: 7.18 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.007869, allocations: 0 / 1.007 GB, free: 7.18 MB / 0.9636 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.0005868/0.008456, allocations: 409.4 kB / 1.007 GB, free: 6.75 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.008498, allocations: 17.28 kB / 1.007 GB, free: 6.734 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.52e-05/0.008533, allocations: 34.75 kB / 1.007 GB, free: 6.691 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.637e-05/0.008569, allocations: 16.84 kB / 1.007 GB, free: 6.676 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.206e-05/0.008661, allocations: 133.5 kB / 1.007 GB, free: 6.52 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.008673, allocations: 8.375 kB / 1.007 GB, free: 6.512 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.008691, allocations: 20.12 kB / 1.007 GB, free: 6.492 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.008896, allocations: 116.1 kB / 1.008 GB, free: 6.375 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.008904, allocations: 0 / 1.008 GB, free: 6.375 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.008915, allocations: 0 / 1.008 GB, free: 6.375 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.00892, allocations: 4 kB / 1.008 GB, free: 6.371 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002338/0.009154, allocations: 143.9 kB / 1.008 GB, free: 6.23 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006604/0.009814, allocations: 407.6 kB / 1.008 GB, free: 5.789 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001887/0.01, allocations: 114.5 kB / 1.008 GB, free: 5.668 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.01011, allocations: 68.81 kB / 1.008 GB, free: 5.598 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006987/0.01081, allocations: 476 kB / 1.009 GB, free: 5.113 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.691e-05/0.01083, allocations: 30.56 kB / 1.009 GB, free: 5.074 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.01083, allocations: 0 / 1.009 GB, free: 5.074 MB / 0.9636 GB Notification: Performance of matching and sorting (n=12): time 0.0004134/0.01124, allocations: 213.3 kB / 1.009 GB, free: 4.859 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.83e-05/0.01127, allocations: 59.39 kB / 1.009 GB, free: 4.789 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.01139, allocations: 167.2 kB / 1.009 GB, free: 4.613 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.0114, allocations: 33.7 kB / 1.009 GB, free: 4.574 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.506e-05/0.01146, allocations: 104.5 kB / 1.009 GB, free: 4.469 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/0.01148, allocations: 43.62 kB / 1.009 GB, free: 4.426 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.621e-05/0.01154, allocations: 49.7 kB / 1.009 GB, free: 4.371 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000349/0.01189, allocations: 330.8 kB / 1.01 GB, free: 4.039 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.01201, allocations: 75.94 kB / 1.01 GB, free: 3.965 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.01216, allocations: 113.9 kB / 1.01 GB, free: 3.844 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002413/0.0124, allocations: 169.9 kB / 1.01 GB, free: 3.668 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.01241, allocations: 4 kB / 1.01 GB, free: 3.664 MB / 0.9636 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003365/0.01274, allocations: 241.2 kB / 1.01 GB, free: 3.422 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.01276, allocations: 11.94 kB / 1.01 GB, free: 3.41 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.01276, allocations: 0 / 1.01 GB, free: 3.41 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.01278, allocations: 3.938 kB / 1.01 GB, free: 3.406 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.01292, allocations: 64.05 kB / 1.01 GB, free: 3.344 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.01293, allocations: 3.938 kB / 1.01 GB, free: 3.34 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.928e-05/0.01301, allocations: 39.77 kB / 1.01 GB, free: 3.301 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.01303, allocations: 8 kB / 1.01 GB, free: 3.293 MB / 0.9636 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.749e-05/0.01311, allocations: 117.8 kB / 1.011 GB, free: 3.168 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.112e-05/0.01313, allocations: 11.94 kB / 1.011 GB, free: 3.156 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000287/0.01341, allocations: 182.9 kB / 1.011 GB, free: 2.973 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.01342, allocations: 0 / 1.011 GB, free: 2.973 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.01342, allocations: 0 / 1.011 GB, free: 2.973 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.01343, allocations: 3.984 kB / 1.011 GB, free: 2.969 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/0.01357, allocations: 176.6 kB / 1.011 GB, free: 2.754 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01357, allocations: 0 / 1.011 GB, free: 2.754 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.243e-05/0.01364, allocations: 27.97 kB / 1.011 GB, free: 2.727 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.01365, allocations: 0 / 1.011 GB, free: 2.727 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.01366, allocations: 11.94 kB / 1.011 GB, free: 2.715 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.01366, allocations: 7.938 kB / 1.011 GB, free: 2.707 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.01366, allocations: 0 / 1.011 GB, free: 2.707 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.01391, allocations: 255.8 kB / 1.011 GB, free: 2.441 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.464e-05/0.01395, allocations: 23.94 kB / 1.011 GB, free: 2.418 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.01396, allocations: 3.938 kB / 1.011 GB, free: 2.414 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.69e-05/0.01403, allocations: 15.98 kB / 1.011 GB, free: 2.398 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.959e-05/0.01409, allocations: 7.984 kB / 1.011 GB, free: 2.391 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.01409, allocations: 4 kB / 1.011 GB, free: 2.387 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.839e-05/0.01415, allocations: 123.9 kB / 1.011 GB, free: 2.266 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.01415, allocations: 0 / 1.011 GB, free: 2.266 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000249/0.0144, allocations: 63.86 kB / 1.011 GB, free: 2.203 MB / 0.9636 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.0005917/0.01499, allocations: 0.8488 MB / 1.012 GB, free: 1.328 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003065/0.0153, allocations: 174.5 kB / 1.012 GB, free: 1.16 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.0153, allocations: 4.188 kB / 1.012 GB, free: 1.156 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 9.99e-05/0.0154, allocations: 63.89 kB / 1.012 GB, free: 1.094 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.01569, allocations: 23.92 kB / 1.012 GB, free: 1.07 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.01755, allocations: 1.942 MB / 1.014 GB, free: 15.03 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.265e-05/0.01761, allocations: 97.8 kB / 1.014 GB, free: 14.91 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 6.886e-05/0.01768, allocations: 13.16 kB / 1.014 GB, free: 14.9 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.915e-05/0.01775, allocations: 36.48 kB / 1.015 GB, free: 14.86 MB / 0.9792 GB Notification: Performance of SimCode: time 8.42e-07/0.01775, allocations: 0 / 1.015 GB, free: 14.86 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08881/0.1066, allocations: 5.094 MB / 1.019 GB, free: 9.941 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.824/6.931, allocations: 13.36 kB / 1.019 GB, free: 9.93 MB / 0.9792 GB " [Timeout remaining time 293] (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: 11.561518296599388]