Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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.001118/0.001118, 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.0008493/0.0008493, allocations: 223.6 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.8952/0.8952, allocations: 230.6 MB / 256.8 MB, free: 9.648 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.873/1.873, 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.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_13_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_13_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009199/0.0009199, allocations: 79.88 kB / 1.177 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6701/0.6711, allocations: 180 MB / 1.352 GB, free: 1.676 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.001939/0.673, allocations: 1.549 MB / 1.354 GB, free: 120 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0001043/0.6731, allocations: 31.84 kB / 1.354 GB, free: 88 kB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.481e-05/0.6731, allocations: 0 / 1.354 GB, free: 88 kB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.0001036/0.6733, allocations: 19.92 kB / 1.354 GB, free: 68 kB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 3.33e-05/0.6733, allocations: 7.875 kB / 1.354 GB, free: 60 kB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 9.496e-05/0.6734, allocations: 19.97 kB / 1.354 GB, free: 40 kB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 9.059e-05/0.6735, allocations: 47.89 kB / 1.354 GB, free: 15.99 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.6736, allocations: 30.02 kB / 1.354 GB, free: 15.96 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.726e-05/0.6736, allocations: 15.94 kB / 1.354 GB, free: 15.95 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.716e-05/0.6737, allocations: 27.84 kB / 1.354 GB, free: 15.92 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.6737, allocations: 4 kB / 1.354 GB, free: 15.92 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.085e-06/0.6737, allocations: 4 kB / 1.354 GB, free: 15.91 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 3.901e-05/0.6737, allocations: 19.92 kB / 1.354 GB, free: 15.89 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 3.114e-05/0.6738, allocations: 27.86 kB / 1.354 GB, free: 15.87 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 9.202e-05/0.6739, allocations: 63.67 kB / 1.354 GB, free: 15.8 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.6739, allocations: 0 / 1.354 GB, free: 15.8 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.074e-06/0.6739, allocations: 0 / 1.354 GB, free: 15.8 MB / 1.042 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.6739, allocations: 0 / 1.354 GB, free: 15.8 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0002944/0.6742, allocations: 290.1 kB / 1.355 GB, free: 15.49 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.6742, allocations: 12.92 kB / 1.355 GB, free: 15.48 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.992e-05/0.6742, allocations: 34.75 kB / 1.355 GB, free: 15.43 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.299e-05/0.6742, allocations: 8.891 kB / 1.355 GB, free: 15.43 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.6744, allocations: 130.4 kB / 1.355 GB, free: 15.27 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.6744, allocations: 8.375 kB / 1.355 GB, free: 15.27 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.6744, allocations: 4.375 kB / 1.355 GB, free: 15.26 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.6745, allocations: 104.7 kB / 1.355 GB, free: 15.14 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.6745, allocations: 3.938 kB / 1.355 GB, free: 15.14 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.6745, allocations: 4 kB / 1.355 GB, free: 15.14 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.6745, allocations: 0 / 1.355 GB, free: 15.14 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.131e-05/0.6746, allocations: 47.91 kB / 1.355 GB, free: 15.09 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003846/0.675, allocations: 0.6003 MB / 1.355 GB, free: 14.44 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.974e-05/0.675, allocations: 169.1 kB / 1.356 GB, free: 14.26 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.416e-05/0.6751, allocations: 88.08 kB / 1.356 GB, free: 14.17 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.6751, allocations: 79.28 kB / 1.356 GB, free: 14.09 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.6751, allocations: 105.8 kB / 1.356 GB, free: 13.98 MB / 1.042 GB Notification: Performance of pre-optimization done (n=0): time 6.61e-07/0.6751, allocations: 3.938 kB / 1.356 GB, free: 13.98 MB / 1.042 GB Notification: Performance of matching and sorting (n=0): time 5.135e-05/0.6752, allocations: 41.59 kB / 1.356 GB, free: 13.93 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.6752, allocations: 126.7 kB / 1.356 GB, free: 13.79 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.6753, allocations: 165.1 kB / 1.356 GB, free: 13.62 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 6.211e-06/0.6753, allocations: 29.7 kB / 1.356 GB, free: 13.58 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 4.892e-05/0.6754, allocations: 104.1 kB / 1.356 GB, free: 13.48 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.955e-06/0.6754, allocations: 0 / 1.356 GB, free: 13.48 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.071e-05/0.6754, allocations: 13.72 kB / 1.356 GB, free: 13.46 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 6.812e-05/0.6755, allocations: 322.8 kB / 1.357 GB, free: 13.13 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.017e-05/0.6755, allocations: 4 kB / 1.357 GB, free: 13.13 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.632e-05/0.6755, allocations: 22.58 kB / 1.357 GB, free: 13.1 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.22e-05/0.6755, allocations: 30.52 kB / 1.357 GB, free: 13.06 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.6755, allocations: 0 / 1.357 GB, free: 13.06 MB / 1.042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.977e-05/0.6756, allocations: 61.58 kB / 1.357 GB, free: 12.99 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.6756, allocations: 4 kB / 1.357 GB, free: 12.99 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.6756, allocations: 8.031 kB / 1.357 GB, free: 12.98 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.6756, allocations: 4 kB / 1.357 GB, free: 12.98 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.819e-05/0.6757, allocations: 4 kB / 1.357 GB, free: 12.97 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.6757, allocations: 0 / 1.357 GB, free: 12.97 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.97e-05/0.6757, allocations: 15.88 kB / 1.357 GB, free: 12.96 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-06/0.6757, allocations: 0 / 1.357 GB, free: 12.96 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 8.084e-05/0.6758, allocations: 197.6 kB / 1.357 GB, free: 12.75 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.507e-05/0.6759, allocations: 112.9 kB / 1.357 GB, free: 12.64 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.636e-05/0.6759, allocations: 124.5 kB / 1.357 GB, free: 12.51 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.747e-05/0.676, allocations: 180.2 kB / 1.357 GB, free: 12.32 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-05/0.676, allocations: 184.3 kB / 1.358 GB, free: 12.14 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.221e-05/0.6761, allocations: 184.2 kB / 1.358 GB, free: 11.95 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002009/0.6763, allocations: 388.3 kB / 1.358 GB, free: 11.52 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.231e-05/0.6763, allocations: 105 kB / 1.358 GB, free: 11.41 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.136e-05/0.6763, allocations: 104.9 kB / 1.358 GB, free: 11.3 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.684e-05/0.6763, allocations: 180.2 kB / 1.358 GB, free: 11.12 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.377e-05/0.6764, allocations: 192.1 kB / 1.359 GB, free: 10.92 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.504e-05/0.6764, allocations: 176.3 kB / 1.359 GB, free: 10.74 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.971e-05/0.6765, allocations: 180.2 kB / 1.359 GB, free: 10.56 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.713e-05/0.6765, allocations: 312 kB / 1.359 GB, free: 10.23 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.455e-05/0.6766, allocations: 112.9 kB / 1.359 GB, free: 10.11 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.481e-05/0.6766, allocations: 188.2 kB / 1.36 GB, free: 9.922 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.163e-05/0.6767, allocations: 112.9 kB / 1.36 GB, free: 9.805 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.168e-05/0.6767, allocations: 180.3 kB / 1.36 GB, free: 9.621 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.166e-05/0.6767, allocations: 104.9 kB / 1.36 GB, free: 9.512 MB / 1.042 GB Notification: Performance of sorting global known variables: time 6.47e-05/0.6768, allocations: 130.3 kB / 1.36 GB, free: 9.387 MB / 1.042 GB Notification: Performance of sort global known variables: time 6e-08/0.6768, allocations: 0 / 1.36 GB, free: 9.387 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001426/0.6769, allocations: 12 kB / 1.36 GB, free: 9.375 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 (0): * Single equations (assignments): 0 * 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.0002583/0.6772, allocations: 0.8125 MB / 1.361 GB, free: 8.535 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 5.844e-05/0.6773, allocations: 12.06 kB / 1.361 GB, free: 8.523 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.6773, allocations: 4.062 kB / 1.361 GB, free: 8.52 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 8.82e-07/0.6773, allocations: 0 / 1.361 GB, free: 8.52 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.6775, allocations: 459.7 kB / 1.361 GB, free: 8.066 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009558/0.6785, allocations: 1.643 MB / 1.363 GB, free: 6.336 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.625e-05/0.6785, allocations: 71.33 kB / 1.363 GB, free: 6.246 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 1.446e-05/0.6785, allocations: 4 kB / 1.363 GB, free: 6.242 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.657e-05/0.6786, allocations: 23.42 kB / 1.363 GB, free: 6.219 MB / 1.042 GB Notification: Performance of SimCode: time 3.9e-07/0.6786, allocations: 4 kB / 1.363 GB, free: 6.215 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07202/0.7506, allocations: 2.214 MB / 1.365 GB, free: 4.137 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.675/7.425, allocations: 11.3 kB / 1.365 GB, free: 4.129 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_13_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_13_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_13_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu) > Buildings_13_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_fmpy.pipe ; mkfifo Buildings_13_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_fmpy_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 ../Buildings_13_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu) > Buildings_13_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.950462155044079]