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.001263/0.001263, allocations: 80.52 kB / 19.95 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.001488/0.001488, allocations: 173.6 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.942/0.942, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.862/1.862, 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.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 2.455e-06/2.455e-06, allocations: 0 / 1.001 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.287e-05/2.533e-05, allocations: 2.281 kB / 1.001 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.00276/0.002785, allocations: 2.011 MB / 1.003 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.004261/0.007046, allocations: 3.899 MB / 1.006 GB, free: 6.449 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001218/0.007168, allocations: 3.938 kB / 1.006 GB, free: 6.445 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0008184/0.007986, allocations: 187 kB / 1.007 GB, free: 6.262 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 9.746e-05/0.008084, allocations: 67.42 kB / 1.007 GB, free: 6.195 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005467/0.00863, allocations: 307.1 kB / 1.007 GB, free: 5.895 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0005592/0.00919, allocations: 402.7 kB / 1.007 GB, free: 5.5 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.009336, allocations: 36.56 kB / 1.007 GB, free: 5.465 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001607/0.009496, allocations: 151.6 kB / 1.008 GB, free: 5.316 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.009632, allocations: 107.7 kB / 1.008 GB, free: 5.211 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.081e-05/0.009663, allocations: 16 kB / 1.008 GB, free: 5.195 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004642/0.01013, allocations: 307.5 kB / 1.008 GB, free: 4.895 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.01025, allocations: 111.6 kB / 1.008 GB, free: 4.785 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 9.059e-05/0.01034, allocations: 95.69 kB / 1.008 GB, free: 4.691 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0005228/0.01086, allocations: 0.5764 MB / 1.009 GB, free: 4.113 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.01086, allocations: 0 / 1.009 GB, free: 4.113 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.983e-06/0.01086, allocations: 0 / 1.009 GB, free: 4.113 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.01087, allocations: 0 / 1.009 GB, free: 4.113 MB / 0.9167 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.0009586/0.01183, allocations: 0.6943 MB / 1.009 GB, free: 3.379 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.01188, allocations: 13.34 kB / 1.009 GB, free: 3.367 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.661e-05/0.01191, allocations: 38.69 kB / 1.009 GB, free: 3.32 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005588/0.01247, allocations: 168.4 kB / 1.01 GB, free: 3.156 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004344/0.01291, allocations: 296 kB / 1.01 GB, free: 2.844 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.01292, allocations: 4.375 kB / 1.01 GB, free: 2.84 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.01294, allocations: 8.375 kB / 1.01 GB, free: 2.832 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003328/0.01327, allocations: 206 kB / 1.01 GB, free: 2.625 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.01328, allocations: 192 / 1.01 GB, free: 2.625 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.0133, allocations: 7.938 kB / 1.01 GB, free: 2.617 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.0133, allocations: 11.94 kB / 1.01 GB, free: 2.605 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004005/0.0137, allocations: 251.8 kB / 1.01 GB, free: 2.359 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007441/0.01445, allocations: 0.5463 MB / 1.011 GB, free: 1.77 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002582/0.01471, allocations: 174.4 kB / 1.011 GB, free: 1.59 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002152/0.01492, allocations: 144.7 kB / 1.011 GB, free: 1.445 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 4.311e-05/0.01496, allocations: 16 kB / 1.011 GB, free: 1.43 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.01498, allocations: 34.56 kB / 1.011 GB, free: 1.387 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=11): time 1.353e-06/0.01498, allocations: 0 / 1.011 GB, free: 1.387 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11): time 0.0007493/0.01573, allocations: 469.4 kB / 1.012 GB, free: 0.9219 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/0.01576, allocations: 59.39 kB / 1.012 GB, free: 0.8516 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002891/0.01605, allocations: 417.9 kB / 1.012 GB, free: 452 kB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.01607, allocations: 29.7 kB / 1.012 GB, free: 416 kB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.01617, allocations: 192 kB / 1.012 GB, free: 220 kB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/0.0162, allocations: 31.7 kB / 1.012 GB, free: 188 kB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.814e-05/0.01626, allocations: 41.69 kB / 1.012 GB, free: 140 kB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.01637, allocations: 350.7 kB / 1.013 GB, free: 15.79 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002608/0.01663, allocations: 217.6 kB / 1.013 GB, free: 15.57 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002406/0.01687, allocations: 221.6 kB / 1.013 GB, free: 15.34 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004562/0.01733, allocations: 372 kB / 1.014 GB, free: 14.97 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.01733, allocations: 0 / 1.014 GB, free: 14.97 MB / 0.9323 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005809/0.01791, allocations: 0.5342 MB / 1.014 GB, free: 14.42 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.748e-05/0.01795, allocations: 41.69 kB / 1.014 GB, free: 14.38 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.01796, allocations: 0 / 1.014 GB, free: 14.38 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.01797, allocations: 0 / 1.014 GB, free: 14.38 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/0.01815, allocations: 47.94 kB / 1.014 GB, free: 14.33 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.01816, allocations: 0 / 1.014 GB, free: 14.33 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.01829, allocations: 39.86 kB / 1.014 GB, free: 14.29 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.0183, allocations: 15.92 kB / 1.014 GB, free: 14.27 MB / 0.9323 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.0001112/0.01841, allocations: 158.6 kB / 1.014 GB, free: 14.11 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.708e-05/0.01845, allocations: 39.72 kB / 1.014 GB, free: 14.07 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008017/0.01925, allocations: 376.7 kB / 1.015 GB, free: 13.7 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.01926, allocations: 3.984 kB / 1.015 GB, free: 13.69 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.01926, allocations: 0 / 1.015 GB, free: 13.69 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.01926, allocations: 0 / 1.015 GB, free: 13.69 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002334/0.0195, allocations: 308.3 kB / 1.015 GB, free: 13.35 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.0195, allocations: 0 / 1.015 GB, free: 13.35 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/0.01964, allocations: 51.94 kB / 1.015 GB, free: 13.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.01964, allocations: 0 / 1.015 GB, free: 13.3 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.01965, allocations: 7.984 kB / 1.015 GB, free: 13.29 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.01966, allocations: 0 / 1.015 GB, free: 13.29 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.01966, allocations: 3.938 kB / 1.015 GB, free: 13.29 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004929/0.02015, allocations: 442.9 kB / 1.016 GB, free: 12.84 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 7.448e-05/0.02022, allocations: 55.72 kB / 1.016 GB, free: 12.78 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.758e-05/0.02025, allocations: 0 / 1.016 GB, free: 12.78 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.02039, allocations: 27.97 kB / 1.016 GB, free: 12.75 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.598e-05/0.02044, allocations: 15.97 kB / 1.016 GB, free: 12.74 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.02045, allocations: 4 kB / 1.016 GB, free: 12.73 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001946/0.02065, allocations: 303.1 kB / 1.016 GB, free: 12.44 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5e-08/0.02065, allocations: 0 / 1.016 GB, free: 12.44 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0002891/0.02094, allocations: 115.8 kB / 1.016 GB, free: 12.32 MB / 0.9323 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.0008509/0.02179, allocations: 1.048 MB / 1.017 GB, free: 11.25 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0005848/0.02237, allocations: 484.7 kB / 1.017 GB, free: 10.75 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.02237, allocations: 0 / 1.017 GB, free: 10.75 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002136/0.02259, allocations: 143.8 kB / 1.018 GB, free: 10.61 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.02291, allocations: 60.38 kB / 1.018 GB, free: 10.55 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004157/0.02707, allocations: 4.435 MB / 1.022 GB, free: 6.012 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/0.02718, allocations: 183.2 kB / 1.022 GB, free: 5.812 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001523/0.02734, allocations: 61.91 kB / 1.022 GB, free: 5.754 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.02747, allocations: 108.5 kB / 1.022 GB, free: 5.648 MB / 0.9323 GB Notification: Performance of SimCode: time 7.51e-07/0.02747, allocations: 0 / 1.022 GB, free: 5.648 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5287/0.5561, allocations: 9.596 MB / 1.032 GB, free: 38.64 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.36/7.916, allocations: 11.53 kB / 1.032 GB, free: 38.64 MB / 0.9323 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.549058860167861]