Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.0007978/0.0007978, allocations: 108.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.0008445/0.0008445, allocations: 219.8 kB / 23.03 MB, free: 2.953 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.9168/0.9168, allocations: 230.6 MB / 256.8 MB, free: 9.605 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.858/1.858, allocations: 0.5046 GB / 0.8104 GB, free: 2.723 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.ASHRAESolarGain,fileNamePrefix="Buildings_13_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_13_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0008769/0.0008769, allocations: 75.83 kB / 1.177 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.684/0.6849, allocations: 180 MB / 1.352 GB, free: 1.625 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002403/0.6873, allocations: 2.102 MB / 1.355 GB, free: 15.51 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.003201/0.6905, allocations: 3.923 MB / 1.358 GB, free: 11.57 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.503e-05/0.6906, allocations: 3.938 kB / 1.358 GB, free: 11.57 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.000599/0.6912, allocations: 177.5 kB / 1.359 GB, free: 11.39 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001022/0.6913, allocations: 79.28 kB / 1.359 GB, free: 11.32 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004534/0.6917, allocations: 338.4 kB / 1.359 GB, free: 10.99 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.000448/0.6922, allocations: 454.5 kB / 1.359 GB, free: 10.54 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.6923, allocations: 48.83 kB / 1.359 GB, free: 10.49 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.6924, allocations: 135.5 kB / 1.36 GB, free: 10.36 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/0.6925, allocations: 147.3 kB / 1.36 GB, free: 10.21 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 2.662e-05/0.6926, allocations: 20 kB / 1.36 GB, free: 10.2 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003356/0.6929, allocations: 323.5 kB / 1.36 GB, free: 9.879 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 9.146e-05/0.693, allocations: 127.5 kB / 1.36 GB, free: 9.754 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 8.97e-05/0.6931, allocations: 135.2 kB / 1.36 GB, free: 9.621 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.000447/0.6935, allocations: 0.5954 MB / 1.361 GB, free: 9.023 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.6935, allocations: 0 / 1.361 GB, free: 9.023 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.542e-06/0.6935, allocations: 4 kB / 1.361 GB, free: 9.02 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.6935, allocations: 0 / 1.361 GB, free: 9.02 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0008566/0.6944, allocations: 0.7448 MB / 1.362 GB, free: 8.238 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.6944, allocations: 8.922 kB / 1.362 GB, free: 8.23 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.073e-05/0.6945, allocations: 38.75 kB / 1.362 GB, free: 8.184 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009256/0.6954, allocations: 320.2 kB / 1.362 GB, free: 7.871 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005184/0.6959, allocations: 348.7 kB / 1.362 GB, free: 7.508 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.6959, allocations: 20.3 kB / 1.362 GB, free: 7.488 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.6959, allocations: 8 kB / 1.362 GB, free: 7.48 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004033/0.6963, allocations: 267.5 kB / 1.363 GB, free: 7.215 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.6964, allocations: 3.938 kB / 1.363 GB, free: 7.211 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.6964, allocations: 4 kB / 1.363 GB, free: 7.207 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.6964, allocations: 4 kB / 1.363 GB, free: 7.203 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005343/0.6969, allocations: 347.6 kB / 1.363 GB, free: 6.863 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008224/0.6977, allocations: 0.6284 MB / 1.363 GB, free: 6.191 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003202/0.6981, allocations: 226.3 kB / 1.364 GB, free: 5.961 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002694/0.6983, allocations: 180.7 kB / 1.364 GB, free: 5.781 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.693e-05/0.6984, allocations: 23.98 kB / 1.364 GB, free: 5.758 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.58e-05/0.6984, allocations: 30.56 kB / 1.364 GB, free: 5.719 MB / 1.042 GB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.6984, allocations: 0 / 1.364 GB, free: 5.719 MB / 1.042 GB Notification: Performance of matching and sorting (n=13): time 0.001029/0.6994, allocations: 0.591 MB / 1.364 GB, free: 5.121 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.6994, allocations: 55.41 kB / 1.365 GB, free: 5.055 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003057/0.6998, allocations: 449.8 kB / 1.365 GB, free: 4.602 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.6998, allocations: 33.7 kB / 1.365 GB, free: 4.562 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 9.883e-05/0.6999, allocations: 192.5 kB / 1.365 GB, free: 4.371 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 3.451e-05/0.6999, allocations: 43.58 kB / 1.365 GB, free: 4.328 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.33e-05/0.7, allocations: 57.67 kB / 1.365 GB, free: 4.266 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 9.186e-05/0.7001, allocations: 354.8 kB / 1.366 GB, free: 3.91 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003731/0.7004, allocations: 341.7 kB / 1.366 GB, free: 3.57 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003502/0.7008, allocations: 346 kB / 1.366 GB, free: 3.227 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006324/0.7014, allocations: 0.5323 MB / 1.367 GB, free: 2.688 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.7014, allocations: 0 / 1.367 GB, free: 2.688 MB / 1.042 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008134/0.7022, allocations: 0.783 MB / 1.368 GB, free: 1.887 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 3.638e-05/0.7023, allocations: 45.67 kB / 1.368 GB, free: 1.836 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.7023, allocations: 4 kB / 1.368 GB, free: 1.832 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.7023, allocations: 0 / 1.368 GB, free: 1.832 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002345/0.7025, allocations: 67.86 kB / 1.368 GB, free: 1.766 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.7025, allocations: 0 / 1.368 GB, free: 1.766 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/0.7027, allocations: 63.72 kB / 1.368 GB, free: 1.703 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.7027, allocations: 8 kB / 1.368 GB, free: 1.695 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 (18): * Single equations (assignments): 17 * 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.0001173/0.7028, allocations: 162.3 kB / 1.368 GB, free: 1.527 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.832e-05/0.7029, allocations: 35.77 kB / 1.368 GB, free: 1.492 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007278/0.7036, allocations: 473.3 kB / 1.368 GB, free: 1.023 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.7036, allocations: 4 kB / 1.368 GB, free: 1.02 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.7036, allocations: 0 / 1.368 GB, free: 1.02 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.7036, allocations: 3.938 kB / 1.368 GB, free: 1.016 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002583/0.7039, allocations: 324.3 kB / 1.369 GB, free: 0.6562 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.7039, allocations: 0 / 1.369 GB, free: 0.6562 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001866/0.7041, allocations: 67.86 kB / 1.369 GB, free: 0.5898 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.7041, allocations: 0 / 1.369 GB, free: 0.5898 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.7041, allocations: 11.98 kB / 1.369 GB, free: 0.5781 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.7041, allocations: 0 / 1.369 GB, free: 0.5781 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.7041, allocations: 3.938 kB / 1.369 GB, free: 0.5742 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006381/0.7047, allocations: 0.5191 MB / 1.369 GB, free: 40 kB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.76e-05/0.7048, allocations: 59.75 kB / 1.369 GB, free: 15.98 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.926e-05/0.7049, allocations: 4 kB / 1.369 GB, free: 15.97 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.705, allocations: 43.94 kB / 1.369 GB, free: 15.93 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.859e-05/0.7051, allocations: 23.91 kB / 1.369 GB, free: 15.91 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.7051, allocations: 4 kB / 1.369 GB, free: 15.9 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0002033/0.7053, allocations: 311.1 kB / 1.37 GB, free: 15.6 MB / 1.057 GB Notification: Performance of sort global known variables: time 9e-08/0.7053, allocations: 4 kB / 1.37 GB, free: 15.6 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.000284/0.7056, allocations: 123.8 kB / 1.37 GB, free: 15.48 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 (13): * Single equations (assignments): 13 * 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.0009621/0.7065, allocations: 1.132 MB / 1.371 GB, free: 14.32 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0008626/0.7074, allocations: 0.6395 MB / 1.372 GB, free: 13.67 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.7074, allocations: 0 / 1.372 GB, free: 13.67 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.00029/0.7077, allocations: 191.8 kB / 1.372 GB, free: 13.48 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003137/0.708, allocations: 57.86 kB / 1.372 GB, free: 13.43 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004583/0.7126, allocations: 5.475 MB / 1.377 GB, free: 7.836 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001178/0.7127, allocations: 199.4 kB / 1.377 GB, free: 7.621 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.000181/0.7129, allocations: 73.84 kB / 1.377 GB, free: 7.551 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/0.713, allocations: 119.4 kB / 1.378 GB, free: 7.434 MB / 1.057 GB Notification: Performance of SimCode: time 6.91e-07/0.713, allocations: 0 / 1.378 GB, free: 7.434 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07898/0.792, allocations: 10.35 MB / 1.388 GB, free: 13.31 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.445/8.237, allocations: 10.06 kB / 1.388 GB, free: 13.3 MB / 1.073 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu) > Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_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_ASHRAESolarGain.fmu) > Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.870700418949127]