Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Examples.Performance.Example5.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.001102/0.001102, allocations: 80.55 kB / 19.96 MB, free: 4.602 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.001219/0.001219, allocations: 177.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.9007/0.9007, allocations: 177.1 MB / 203.5 MB, free: 5.723 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.779/1.779, allocations: 389.6 MB / 0.6343 GB, free: 12.59 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.Examples.Performance.Example5,fileNamePrefix="Buildings_13_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_13_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 1.001 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.505e-05/1.712e-05, allocations: 2.281 kB / 1.001 GB, free: 13.56 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001637/0.001654, allocations: 0.5324 MB / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.000213/0.001867, allocations: 39.88 kB / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.478e-05/0.001932, allocations: 0 / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.864e-05/0.00197, allocations: 3.938 kB / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001693/0.00214, allocations: 3.938 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 6.901e-05/0.002209, allocations: 11.92 kB / 1.001 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.402e-05/0.002283, allocations: 7.938 kB / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.388e-05/0.002326, allocations: 4 kB / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.9e-05/0.002395, allocations: 7.984 kB / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 8.232e-05/0.002478, allocations: 27.84 kB / 1.001 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.002497, allocations: 0 / 1.001 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.767e-06/0.002506, allocations: 0 / 1.001 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.26e-05/0.002559, allocations: 0 / 1.001 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.774e-05/0.002586, allocations: 8 kB / 1.001 GB, free: 12.92 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 6.924e-05/0.002656, allocations: 7.984 kB / 1.001 GB, free: 12.91 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.00266, allocations: 4 kB / 1.001 GB, free: 12.91 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.002e-06/0.002661, allocations: 0 / 1.001 GB, free: 12.91 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.002665, allocations: 0 / 1.001 GB, free: 12.91 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004112/0.003076, allocations: 254.3 kB / 1.002 GB, free: 12.62 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.003121, allocations: 17.34 kB / 1.002 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.985e-05/0.003161, allocations: 30.75 kB / 1.002 GB, free: 12.57 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.336e-05/0.003185, allocations: 0.9375 kB / 1.002 GB, free: 12.57 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.003385, allocations: 121.7 kB / 1.002 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.003399, allocations: 384 / 1.002 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.003416, allocations: 384 / 1.002 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.9e-05/0.003495, allocations: 34.25 kB / 1.002 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.003503, allocations: 192 / 1.002 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.003512, allocations: 4.359 kB / 1.002 GB, free: 12.38 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.003518, allocations: 4.125 kB / 1.002 GB, free: 12.38 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.142e-05/0.003539, allocations: 7.938 kB / 1.002 GB, free: 12.37 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001416/0.003681, allocations: 128.8 kB / 1.002 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.763e-05/0.003729, allocations: 18.58 kB / 1.002 GB, free: 12.18 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.138e-05/0.00375, allocations: 8.844 kB / 1.002 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.003764, allocations: 4.062 kB / 1.002 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.003785, allocations: 34.56 kB / 1.002 GB, free: 12.12 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.003786, allocations: 0 / 1.002 GB, free: 12.12 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0001454/0.003932, allocations: 41.62 kB / 1.002 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.003967, allocations: 59.34 kB / 1.002 GB, free: 12 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.418e-05/0.004061, allocations: 113.8 kB / 1.002 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.004074, allocations: 33.83 kB / 1.002 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.822e-05/0.004112, allocations: 84.14 kB / 1.002 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.004133, allocations: 3.953 kB / 1.002 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.205e-05/0.004165, allocations: 17.7 kB / 1.002 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.582e-05/0.004261, allocations: 314.8 kB / 1.003 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.549e-05/0.004276, allocations: 4 kB / 1.003 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.678e-05/0.004303, allocations: 17.7 kB / 1.003 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.372e-05/0.004347, allocations: 25.59 kB / 1.003 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.004349, allocations: 0 / 1.003 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.521e-05/0.004424, allocations: 49.75 kB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.004436, allocations: 4 kB / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.004442, allocations: 4 kB / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.004456, allocations: 0 / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.299e-05/0.004529, allocations: 15.86 kB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.004534, allocations: 0 / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.129e-05/0.004555, allocations: 3.938 kB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.004564, allocations: 3.984 kB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.791e-05/0.004632, allocations: 113.8 kB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.125e-05/0.004643, allocations: 12.02 kB / 1.003 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/0.004745, allocations: 49.14 kB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.004747, allocations: 0 / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.004752, allocations: 3.938 kB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.004756, allocations: 0 / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.807e-05/0.004855, allocations: 128.8 kB / 1.003 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.004856, allocations: 0 / 1.003 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.02e-05/0.004906, allocations: 4 kB / 1.003 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.004908, allocations: 0 / 1.003 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.004916, allocations: 0 / 1.003 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.004917, allocations: 3.938 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.004919, allocations: 7.969 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/0.005051, allocations: 81.11 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.136e-05/0.005072, allocations: 4.031 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.005085, allocations: 0 / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.66e-05/0.005102, allocations: 0 / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.079e-05/0.005123, allocations: 3.938 kB / 1.003 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.005126, allocations: 256 / 1.003 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.976e-05/0.005175, allocations: 95.27 kB / 1.003 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.005176, allocations: 0 / 1.003 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002214/0.005397, allocations: 4 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 (2): * Single equations (assignments): 2 * 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.000405/0.005802, allocations: 0.6125 MB / 1.004 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 8.693e-05/0.005889, allocations: 19.98 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.005891, allocations: 0 / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.37e-05/0.005904, allocations: 7.938 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001608/0.006065, allocations: 3.938 kB / 1.004 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.007184, allocations: 1.151 MB / 1.005 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.942e-05/0.007233, allocations: 67.62 kB / 1.005 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.897e-05/0.007252, allocations: 7.938 kB / 1.005 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.652e-05/0.007289, allocations: 8.5 kB / 1.005 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of SimCode: time 5.01e-07/0.007289, allocations: 0 / 1.005 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07689/0.08418, allocations: 1.844 MB / 1.007 GB, free: 6.949 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.072/7.156, allocations: 10.58 kB / 1.007 GB, free: 6.945 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_13_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_13_Buildings.Fluid.Examples.Performance.Example5.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_Examples_Performance_Example5.fmu) > Buildings_13_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.Examples.Performance.Example5_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.Examples.Performance.Example5_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Examples.Performance.Example5_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.Examples.Performance.Example5_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.Examples.Performance.Example5_fmpy_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 ../Buildings_13_Buildings_Fluid_Examples_Performance_Example5.fmu) > Buildings_13_Buildings.Fluid.Examples.Performance.Example5_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.587941031903028]