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.0009058/0.0009058, allocations: 80.45 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.00102/0.00102, allocations: 173.2 kB / 23.24 MB, free: 1.32 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.9597/0.9597, allocations: 177.1 MB / 203.5 MB, free: 5.758 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.824/1.824, allocations: 389.6 MB / 0.6343 GB, free: 12.64 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.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 2.675e-06/2.675e-06, allocations: 0 / 1.001 GB, free: 13.58 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.934e-05/3.201e-05, allocations: 2.281 kB / 1.001 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.003146/0.003178, allocations: 1.536 MB / 1.002 GB, free: 12.03 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.000939/0.004117, allocations: 463.7 kB / 1.003 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.232e-05/0.004179, allocations: 0 / 1.003 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.543e-05/0.004204, allocations: 3.938 kB / 1.003 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.412e-05/0.004258, allocations: 19.81 kB / 1.003 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002658/0.004524, allocations: 35.88 kB / 1.003 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001177/0.004642, allocations: 55.73 kB / 1.003 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.85e-05/0.00474, allocations: 7.984 kB / 1.003 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001423/0.004883, allocations: 43.83 kB / 1.003 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.058e-05/0.004943, allocations: 15.98 kB / 1.003 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.004958, allocations: 4 kB / 1.003 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.194e-05/0.005, allocations: 4 kB / 1.003 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.321e-05/0.005013, allocations: 15.86 kB / 1.003 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.671e-05/0.00504, allocations: 19.92 kB / 1.003 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001194/0.00516, allocations: 51.88 kB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.005164, allocations: 0 / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.214e-06/0.005166, allocations: 0 / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.005172, allocations: 0 / 1.003 GB, free: 11.3 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004187/0.00559, allocations: 302 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.005633, allocations: 9.344 kB / 1.003 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.418e-05/0.005668, allocations: 30.75 kB / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001496/0.005817, allocations: 20.92 kB / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002193/0.006036, allocations: 133.7 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.006047, allocations: 4.312 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/0.006057, allocations: 384 / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.006197, allocations: 58.23 kB / 1.003 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.006205, allocations: 192 / 1.003 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.006216, allocations: 4.125 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.006223, allocations: 7.922 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.119e-05/0.006304, allocations: 35.91 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003256/0.00663, allocations: 240.1 kB / 1.004 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 9.164e-05/0.006721, allocations: 42.48 kB / 1.004 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.518e-05/0.006766, allocations: 24.94 kB / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.00678, allocations: 0 / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.006799, allocations: 38.5 kB / 1.004 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.0068, allocations: 0 / 1.004 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0002312/0.007031, allocations: 85.61 kB / 1.004 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.007061, allocations: 55.41 kB / 1.004 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.799e-05/0.007149, allocations: 129.8 kB / 1.004 GB, free: 9.945 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.007161, allocations: 25.7 kB / 1.004 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.423e-05/0.007205, allocations: 92.08 kB / 1.004 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.00723, allocations: 7.953 kB / 1.004 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/0.007262, allocations: 21.7 kB / 1.004 GB, free: 9.785 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.92e-05/0.007351, allocations: 310.8 kB / 1.004 GB, free: 9.473 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.586e-05/0.007397, allocations: 15.98 kB / 1.004 GB, free: 9.457 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.369e-05/0.007431, allocations: 23.92 kB / 1.005 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.213e-05/0.007503, allocations: 44.83 kB / 1.005 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.007505, allocations: 0 / 1.005 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001029/0.007608, allocations: 81.55 kB / 1.005 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.007623, allocations: 4 kB / 1.005 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.007628, allocations: 0 / 1.005 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.00764, allocations: 0 / 1.005 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.178e-05/0.007712, allocations: 15.98 kB / 1.005 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.007718, allocations: 0 / 1.005 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.41e-05/0.007742, allocations: 8 kB / 1.005 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.007748, allocations: 0 / 1.005 GB, free: 9.273 MB / 0.9636 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.413e-05/0.007812, allocations: 117.8 kB / 1.005 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.558e-05/0.007828, allocations: 11.89 kB / 1.005 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.377e-05/0.007851, allocations: 7.984 kB / 1.005 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.007853, allocations: 3.938 kB / 1.005 GB, free: 9.117 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.007859, allocations: 0 / 1.005 GB, free: 9.117 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.007861, allocations: 0 / 1.005 GB, free: 9.117 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001194/0.007981, allocations: 140.7 kB / 1.005 GB, free: 8.938 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.007982, allocations: 0 / 1.005 GB, free: 8.938 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.489e-05/0.008017, allocations: 15.98 kB / 1.005 GB, free: 8.922 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.008019, allocations: 0 / 1.005 GB, free: 8.922 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.008026, allocations: 0 / 1.005 GB, free: 8.922 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.008027, allocations: 0 / 1.005 GB, free: 8.922 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.008028, allocations: 0 / 1.005 GB, free: 8.922 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001631/0.008191, allocations: 175.7 kB / 1.005 GB, free: 8.734 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.188e-05/0.008203, allocations: 11.98 kB / 1.005 GB, free: 8.723 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/0.008215, allocations: 3.938 kB / 1.005 GB, free: 8.719 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.298e-05/0.008258, allocations: 7.984 kB / 1.005 GB, free: 8.711 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.008298, allocations: 7.938 kB / 1.005 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-06/0.008301, allocations: 0 / 1.005 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.535e-05/0.008347, allocations: 98.52 kB / 1.005 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.008347, allocations: 0 / 1.005 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001514/0.008498, allocations: 12 kB / 1.005 GB, free: 8.598 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 (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.0003314/0.008829, allocations: 0.7007 MB / 1.006 GB, free: 7.871 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001301/0.008959, allocations: 47.91 kB / 1.006 GB, free: 7.824 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.008961, allocations: 0 / 1.006 GB, free: 7.824 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.842e-05/0.008999, allocations: 19.98 kB / 1.006 GB, free: 7.805 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000175/0.009174, allocations: 4 kB / 1.006 GB, free: 7.801 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.0103, allocations: 1.364 MB / 1.007 GB, free: 6.355 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.07e-05/0.01035, allocations: 75.33 kB / 1.007 GB, free: 6.262 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.364e-05/0.01039, allocations: 4 kB / 1.007 GB, free: 6.258 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.665e-05/0.01043, allocations: 16.5 kB / 1.007 GB, free: 6.242 MB / 0.9636 GB Notification: Performance of SimCode: time 8.62e-07/0.01043, allocations: 0 / 1.007 GB, free: 6.242 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07281/0.08324, allocations: 2.214 MB / 1.01 GB, free: 4.168 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.53/7.614, allocations: 0.6562 kB / 1.01 GB, free: 4.168 MB / 0.9636 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.305710471235216]