Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.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.000779/0.000779, allocations: 100.3 kB / 19.72 MB, free: 428 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.001629/0.001629, allocations: 215.3 kB / 23.02 MB, free: 2.973 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.9949/0.9949, allocations: 230.6 MB / 256.8 MB, free: 9.574 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 2/2, allocations: 0.5045 GB / 0.8104 GB, free: 2.809 MB / 0.6511 GB " [Timeout remaining time 177] 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.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="Buildings_13_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="Buildings_13_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009642/0.0009642, allocations: 71.89 kB / 1.177 GB, free: 12.03 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.681/0.682, allocations: 180 MB / 1.352 GB, free: 1.746 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002038/0.684, allocations: 1.53 MB / 1.354 GB, free: 212 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0006444/0.6846, allocations: 454.9 kB / 1.354 GB, free: 15.76 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.021e-05/0.6847, allocations: 0 / 1.354 GB, free: 15.76 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 3.186e-05/0.6847, allocations: 7.922 kB / 1.354 GB, free: 15.75 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 5.212e-05/0.6848, allocations: 19.86 kB / 1.354 GB, free: 15.73 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002249/0.685, allocations: 31.91 kB / 1.354 GB, free: 15.7 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.6851, allocations: 59.72 kB / 1.354 GB, free: 15.64 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.801e-05/0.6852, allocations: 7.984 kB / 1.355 GB, free: 15.63 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.6853, allocations: 31.91 kB / 1.355 GB, free: 15.6 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.089e-05/0.6854, allocations: 23.86 kB / 1.355 GB, free: 15.58 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.6854, allocations: 4 kB / 1.355 GB, free: 15.57 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.106e-05/0.6855, allocations: 8 kB / 1.355 GB, free: 15.57 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.401e-05/0.6855, allocations: 8 kB / 1.355 GB, free: 15.56 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.435e-05/0.6855, allocations: 23.86 kB / 1.355 GB, free: 15.54 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001127/0.6856, allocations: 54 kB / 1.355 GB, free: 15.48 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.6856, allocations: 0 / 1.355 GB, free: 15.48 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.124e-06/0.6856, allocations: 0 / 1.355 GB, free: 15.48 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.6856, allocations: 3.984 kB / 1.355 GB, free: 15.48 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000375/0.686, allocations: 294 kB / 1.355 GB, free: 15.16 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.6861, allocations: 12.86 kB / 1.355 GB, free: 15.15 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.956e-05/0.6861, allocations: 34.75 kB / 1.355 GB, free: 15.11 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001346/0.6862, allocations: 24.86 kB / 1.355 GB, free: 15.09 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001926/0.6864, allocations: 130.5 kB / 1.355 GB, free: 14.93 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-06/0.6864, allocations: 384 / 1.355 GB, free: 14.93 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.6864, allocations: 4.375 kB / 1.355 GB, free: 14.93 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.6866, allocations: 57.8 kB / 1.355 GB, free: 14.87 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.6866, allocations: 0 / 1.355 GB, free: 14.87 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.6866, allocations: 0 / 1.355 GB, free: 14.87 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.6866, allocations: 4 kB / 1.355 GB, free: 14.86 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.407e-05/0.6866, allocations: 35.91 kB / 1.355 GB, free: 14.83 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002856/0.6869, allocations: 247.9 kB / 1.355 GB, free: 14.54 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.863e-05/0.687, allocations: 38.56 kB / 1.355 GB, free: 14.5 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.231e-05/0.6871, allocations: 20.94 kB / 1.356 GB, free: 14.47 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.6871, allocations: 0 / 1.356 GB, free: 14.47 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.6871, allocations: 38.56 kB / 1.356 GB, free: 14.43 MB / 1.042 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.6871, allocations: 0 / 1.356 GB, free: 14.43 MB / 1.042 GB Notification: Performance of matching and sorting (n=3): time 0.0002144/0.6873, allocations: 89.73 kB / 1.356 GB, free: 14.33 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.719e-05/0.6873, allocations: 59.39 kB / 1.356 GB, free: 14.26 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.685e-05/0.6874, allocations: 123.1 kB / 1.356 GB, free: 14.13 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.6874, allocations: 29.7 kB / 1.356 GB, free: 14.1 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002655/0.6877, allocations: 92.12 kB / 1.356 GB, free: 14 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.722e-05/0.6877, allocations: 3.953 kB / 1.356 GB, free: 14 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-05/0.6877, allocations: 17.72 kB / 1.356 GB, free: 13.98 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.29e-05/0.6878, allocations: 318.8 kB / 1.356 GB, free: 13.66 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.372e-05/0.6879, allocations: 23.92 kB / 1.356 GB, free: 13.63 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.191e-05/0.6879, allocations: 19.97 kB / 1.356 GB, free: 13.61 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.539e-05/0.688, allocations: 48.77 kB / 1.356 GB, free: 13.56 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.688, allocations: 4 kB / 1.356 GB, free: 13.56 MB / 1.042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001021/0.6881, allocations: 69.62 kB / 1.356 GB, free: 13.48 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.6881, allocations: 4 kB / 1.356 GB, free: 13.48 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.6881, allocations: 0 / 1.356 GB, free: 13.48 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.6881, allocations: 4 kB / 1.356 GB, free: 13.48 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.467e-05/0.6882, allocations: 7.984 kB / 1.356 GB, free: 13.47 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.6882, allocations: 4 kB / 1.356 GB, free: 13.46 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.479e-05/0.6882, allocations: 4 kB / 1.356 GB, free: 13.46 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.769e-06/0.6882, allocations: 3.984 kB / 1.356 GB, free: 13.46 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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.627e-05/0.6883, allocations: 117.8 kB / 1.357 GB, free: 13.33 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.511e-05/0.6883, allocations: 7.953 kB / 1.357 GB, free: 13.32 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.26e-05/0.6883, allocations: 4 kB / 1.357 GB, free: 13.32 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.6883, allocations: 4 kB / 1.357 GB, free: 13.31 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/0.6883, allocations: 4 kB / 1.357 GB, free: 13.31 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.6883, allocations: 3.938 kB / 1.357 GB, free: 13.3 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.6885, allocations: 140.7 kB / 1.357 GB, free: 13.12 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.6885, allocations: 7.938 kB / 1.357 GB, free: 13.12 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.275e-05/0.6885, allocations: 8 kB / 1.357 GB, free: 13.11 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.6885, allocations: 3.984 kB / 1.357 GB, free: 13.11 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.6885, allocations: 0 / 1.357 GB, free: 13.11 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.6885, allocations: 0 / 1.357 GB, free: 13.11 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.6885, allocations: 4 kB / 1.357 GB, free: 13.1 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/0.6886, allocations: 171.4 kB / 1.357 GB, free: 12.92 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.554e-06/0.6886, allocations: 3.984 kB / 1.357 GB, free: 12.91 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.978e-06/0.6886, allocations: 0 / 1.357 GB, free: 12.91 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.782e-05/0.6887, allocations: 8 kB / 1.357 GB, free: 12.91 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.719e-05/0.6887, allocations: 3.984 kB / 1.357 GB, free: 12.9 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.6887, allocations: 4 kB / 1.357 GB, free: 12.9 MB / 1.042 GB Notification: Performance of sorting global known variables: time 4.082e-05/0.6888, allocations: 96.14 kB / 1.357 GB, free: 12.8 MB / 1.042 GB Notification: Performance of sort global known variables: time 7e-08/0.6888, allocations: 0 / 1.357 GB, free: 12.8 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001606/0.6889, allocations: 11.95 kB / 1.357 GB, free: 12.79 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 (3): * Single equations (assignments): 3 * 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.0003239/0.6893, allocations: 0.7085 MB / 1.358 GB, free: 12.06 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001257/0.6894, allocations: 35.97 kB / 1.358 GB, free: 12.02 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.6894, allocations: 3.938 kB / 1.358 GB, free: 12.02 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 3.76e-05/0.6894, allocations: 28.25 kB / 1.358 GB, free: 11.99 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001666/0.6896, allocations: 10 kB / 1.358 GB, free: 11.98 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.6906, allocations: 1.377 MB / 1.359 GB, free: 10.53 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.542e-05/0.6906, allocations: 71.33 kB / 1.359 GB, free: 10.44 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 3.126e-05/0.6907, allocations: 7.938 kB / 1.359 GB, free: 10.43 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.525e-05/0.6907, allocations: 19.42 kB / 1.359 GB, free: 10.41 MB / 1.042 GB Notification: Performance of SimCode: time 5.41e-07/0.6907, allocations: 0 / 1.359 GB, free: 10.41 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08364/0.7744, allocations: 2.064 MB / 1.361 GB, free: 8.48 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.926/7.701, allocations: 11.45 kB / 1.361 GB, free: 8.477 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.fmu) > Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_fmpy_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ../Buildings_13_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.fmu) > Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.549488960765302]