Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.001021/0.001021, 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.0008816/0.0008816, 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.9603/0.9603, allocations: 230.6 MB / 256.8 MB, free: 9.578 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.952/1.952, allocations: 0.5045 GB / 0.8104 GB, free: 2.781 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.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_13_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_13_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 73.41 kB / 1.177 GB, free: 15.47 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2828, allocations: 180 MB / 1.352 GB, free: 9.234 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002261/0.2851, allocations: 2.013 MB / 1.354 GB, free: 7.211 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.003495/0.2886, allocations: 3.889 MB / 1.358 GB, free: 3.305 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.772e-05/0.2887, allocations: 3.938 kB / 1.358 GB, free: 3.301 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006298/0.2893, allocations: 195 kB / 1.358 GB, free: 3.109 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 8.396e-05/0.2894, allocations: 71.41 kB / 1.358 GB, free: 3.039 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004587/0.2899, allocations: 301.7 kB / 1.359 GB, free: 2.746 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0004398/0.2903, allocations: 394.8 kB / 1.359 GB, free: 2.359 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.2904, allocations: 32.56 kB / 1.359 GB, free: 2.324 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.2905, allocations: 115.5 kB / 1.359 GB, free: 2.211 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001289/0.2906, allocations: 123.4 kB / 1.359 GB, free: 2.09 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 2.407e-05/0.2907, allocations: 16 kB / 1.359 GB, free: 2.074 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003415/0.291, allocations: 319.5 kB / 1.36 GB, free: 1.762 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 8.828e-05/0.2911, allocations: 103.6 kB / 1.36 GB, free: 1.66 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 8.266e-05/0.2912, allocations: 115.3 kB / 1.36 GB, free: 1.547 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004158/0.2916, allocations: 0.5292 MB / 1.36 GB, free: 1.016 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.2916, allocations: 0 / 1.36 GB, free: 1.016 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.214e-06/0.2916, allocations: 4 kB / 1.36 GB, free: 1.012 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.2916, allocations: 0 / 1.36 GB, free: 1.012 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.000812/0.2924, allocations: 0.7079 MB / 1.361 GB, free: 272 kB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.2925, allocations: 8.922 kB / 1.361 GB, free: 264 kB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.596e-05/0.2925, allocations: 42.73 kB / 1.361 GB, free: 212 kB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005254/0.293, allocations: 156.5 kB / 1.361 GB, free: 56 kB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000433/0.2934, allocations: 288.7 kB / 1.362 GB, free: 15.75 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.2935, allocations: 4.375 kB / 1.362 GB, free: 15.75 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.2935, allocations: 12.38 kB / 1.362 GB, free: 15.73 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003285/0.2938, allocations: 219 kB / 1.362 GB, free: 15.52 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.2938, allocations: 0 / 1.362 GB, free: 15.52 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.2938, allocations: 7.984 kB / 1.362 GB, free: 15.51 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.2938, allocations: 4 kB / 1.362 GB, free: 15.5 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004056/0.2942, allocations: 259.8 kB / 1.362 GB, free: 15.25 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006673/0.2949, allocations: 0.5424 MB / 1.363 GB, free: 14.66 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002471/0.2952, allocations: 170.5 kB / 1.363 GB, free: 14.49 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.2954, allocations: 140.8 kB / 1.363 GB, free: 14.35 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 4.265e-05/0.2954, allocations: 27.92 kB / 1.363 GB, free: 14.32 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.2954, allocations: 30.56 kB / 1.363 GB, free: 14.28 MB / 1.057 GB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.2954, allocations: 0 / 1.363 GB, free: 14.28 MB / 1.057 GB Notification: Performance of matching and sorting (n=11): time 0.0009485/0.2964, allocations: 481.6 kB / 1.363 GB, free: 13.8 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.911e-05/0.2964, allocations: 55.34 kB / 1.363 GB, free: 13.74 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006097/0.297, allocations: 413.9 kB / 1.364 GB, free: 13.32 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.297, allocations: 33.7 kB / 1.364 GB, free: 13.28 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.2971, allocations: 179.8 kB / 1.364 GB, free: 13.1 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 3.895e-05/0.2972, allocations: 47.58 kB / 1.364 GB, free: 13.05 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.645e-05/0.2973, allocations: 41.69 kB / 1.364 GB, free: 13.01 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.2974, allocations: 350.8 kB / 1.365 GB, free: 12.66 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003283/0.2977, allocations: 209.6 kB / 1.365 GB, free: 12.45 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003154/0.298, allocations: 225.6 kB / 1.365 GB, free: 12.22 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005834/0.2986, allocations: 372.5 kB / 1.365 GB, free: 11.85 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2986, allocations: 4 kB / 1.365 GB, free: 11.84 MB / 1.057 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007404/0.2993, allocations: 0.5246 MB / 1.366 GB, free: 11.3 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 3.946e-05/0.2994, allocations: 41.69 kB / 1.366 GB, free: 11.25 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.2994, allocations: 4 kB / 1.366 GB, free: 11.25 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.2994, allocations: 0 / 1.366 GB, free: 11.25 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/0.2996, allocations: 51.94 kB / 1.366 GB, free: 11.2 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.2996, allocations: 3.938 kB / 1.366 GB, free: 11.2 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001641/0.2998, allocations: 39.84 kB / 1.366 GB, free: 11.16 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.1e-05/0.2998, allocations: 8 kB / 1.366 GB, free: 11.15 MB / 1.057 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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 0.000124/0.2999, allocations: 162.3 kB / 1.366 GB, free: 10.98 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.198e-05/0.3, allocations: 35.75 kB / 1.366 GB, free: 10.95 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006895/0.3007, allocations: 376.6 kB / 1.366 GB, free: 10.57 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.3007, allocations: 4 kB / 1.366 GB, free: 10.56 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.3007, allocations: 3.938 kB / 1.366 GB, free: 10.56 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3007, allocations: 0 / 1.366 GB, free: 10.56 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002947/0.301, allocations: 296.5 kB / 1.367 GB, free: 10.23 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.301, allocations: 0 / 1.367 GB, free: 10.23 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001835/0.3012, allocations: 51.88 kB / 1.367 GB, free: 10.18 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.3012, allocations: 4 kB / 1.367 GB, free: 10.17 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.3012, allocations: 8 kB / 1.367 GB, free: 10.16 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3012, allocations: 0 / 1.367 GB, free: 10.16 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.3012, allocations: 7.922 kB / 1.367 GB, free: 10.16 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006195/0.3018, allocations: 435 kB / 1.367 GB, free: 9.715 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 9.54e-05/0.3019, allocations: 59.62 kB / 1.367 GB, free: 9.656 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.402e-05/0.3019, allocations: 4 kB / 1.367 GB, free: 9.652 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.3021, allocations: 23.97 kB / 1.367 GB, free: 9.629 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.049e-05/0.3022, allocations: 19.91 kB / 1.367 GB, free: 9.609 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.3022, allocations: 7.984 kB / 1.367 GB, free: 9.602 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0002396/0.3024, allocations: 299.1 kB / 1.368 GB, free: 9.316 MB / 1.057 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3024, allocations: 0 / 1.368 GB, free: 9.316 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0003669/0.3028, allocations: 119.9 kB / 1.368 GB, free: 9.199 MB / 1.057 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 (11): * Single equations (assignments): 11 * 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.0009749/0.3038, allocations: 1.036 MB / 1.369 GB, free: 8.137 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0007087/0.3045, allocations: 476.8 kB / 1.369 GB, free: 7.652 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3045, allocations: 0 / 1.369 GB, free: 7.652 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0002697/0.3047, allocations: 147.9 kB / 1.369 GB, free: 7.508 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004083/0.3052, allocations: 63.77 kB / 1.369 GB, free: 7.445 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004721/0.3099, allocations: 4.442 MB / 1.374 GB, free: 2.891 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001379/0.31, allocations: 183.2 kB / 1.374 GB, free: 2.695 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.000188/0.3102, allocations: 57.91 kB / 1.374 GB, free: 2.637 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001543/0.3104, allocations: 111.3 kB / 1.374 GB, free: 2.527 MB / 1.057 GB Notification: Performance of SimCode: time 4.91e-07/0.3104, allocations: 0 / 1.374 GB, free: 2.527 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1146/0.4249, allocations: 9.49 MB / 1.383 GB, free: 9.266 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.271/7.696, allocations: 5.688 kB / 1.383 GB, free: 9.262 MB / 1.073 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu) > Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_fmpy_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 ../Buildings_13_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu) > Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.74818621110171]