Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Airflow.Multizone.Examples.PowerLaw.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.00149/0.00149, 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.001971/0.001971, allocations: 173.2 kB / 23.23 MB, free: 1.328 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.8902/0.8902, allocations: 177.2 MB / 203.5 MB, free: 5.715 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.805/1.805, 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.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_13_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_13_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 1.001 GB, free: 12.44 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.834e-05/1.974e-05, allocations: 2.281 kB / 1.001 GB, free: 12.44 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.6479/0.6479, allocations: 170.3 MB / 1.167 GB, free: 6.93 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.005509/0.6534, allocations: 3.941 MB / 1.171 GB, free: 3.801 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009074/0.6543, allocations: 25.28 kB / 1.171 GB, free: 3.789 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.6555, allocations: 462.7 kB / 1.171 GB, free: 3.418 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.003185/0.6586, allocations: 1.667 MB / 1.173 GB, free: 1.883 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002798/0.6614, allocations: 1.436 MB / 1.174 GB, free: 456 kB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.00206/0.6635, allocations: 1.693 MB / 1.176 GB, free: 14.75 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001261/0.6648, allocations: 0.8485 MB / 1.177 GB, free: 13.89 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002105/0.6669, allocations: 1.375 MB / 1.178 GB, free: 12.51 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001025/0.6679, allocations: 0.7988 MB / 1.179 GB, free: 11.71 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.0001958/0.6681, allocations: 104 kB / 1.179 GB, free: 11.61 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001971/0.6701, allocations: 1.153 MB / 1.18 GB, free: 10.45 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0003761/0.6704, allocations: 398.8 kB / 1.181 GB, free: 10.06 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0004459/0.6709, allocations: 407 kB / 1.181 GB, free: 9.66 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.002769/0.6736, allocations: 1.827 MB / 1.183 GB, free: 7.828 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.6737, allocations: 0 / 1.183 GB, free: 7.828 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.154e-06/0.6737, allocations: 0 / 1.183 GB, free: 7.828 MB / 1.026 GB Notification: Performance of Transformations before backend: time 3.345e-05/0.6737, allocations: 0 / 1.183 GB, free: 7.828 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002639/0.6763, allocations: 1.188 MB / 1.184 GB, free: 6.605 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.6764, allocations: 13.34 kB / 1.184 GB, free: 6.594 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001263/0.6765, allocations: 90.52 kB / 1.184 GB, free: 6.496 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001869/0.6784, allocations: 438.9 kB / 1.184 GB, free: 6.066 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009256/0.6793, allocations: 0.5732 MB / 1.185 GB, free: 5.469 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.537e-05/0.6793, allocations: 37 kB / 1.185 GB, free: 5.434 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.639e-05/0.6794, allocations: 48 kB / 1.185 GB, free: 5.387 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001513/0.6809, allocations: 1.175 MB / 1.186 GB, free: 4.129 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/0.681, allocations: 4 kB / 1.186 GB, free: 4.125 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.596e-05/0.681, allocations: 31.92 kB / 1.186 GB, free: 4.094 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.326e-05/0.6811, allocations: 35.91 kB / 1.186 GB, free: 4.059 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001638/0.6827, allocations: 1.198 MB / 1.187 GB, free: 2.859 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00443/0.6872, allocations: 3.918 MB / 1.191 GB, free: 14.82 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/0.6885, allocations: 0.854 MB / 1.192 GB, free: 13.96 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007416/0.6893, allocations: 0.5696 MB / 1.193 GB, free: 13.39 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002924/0.6895, allocations: 88.41 kB / 1.193 GB, free: 13.3 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.6896, allocations: 43 kB / 1.193 GB, free: 13.25 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001314/0.6909, allocations: 0.6322 MB / 1.193 GB, free: 12.62 MB / 1.042 GB Notification: Performance of pre-optimization done (n=50): time 4.639e-06/0.6909, allocations: 0 / 1.193 GB, free: 12.62 MB / 1.042 GB Notification: Performance of matching and sorting (n=50): time 0.01016/0.7011, allocations: 3.974 MB / 1.197 GB, free: 8.629 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003501/0.7014, allocations: 55.91 kB / 1.197 GB, free: 8.562 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007754/0.7022, allocations: 0.7195 MB / 1.198 GB, free: 7.832 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001353/0.7023, allocations: 33.7 kB / 1.198 GB, free: 7.793 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000192/0.7025, allocations: 320.9 kB / 1.198 GB, free: 7.473 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000148/0.7027, allocations: 190.3 kB / 1.198 GB, free: 7.285 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001996/0.7029, allocations: 154 kB / 1.199 GB, free: 7.129 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 9.067e-05/0.703, allocations: 325.9 kB / 1.199 GB, free: 6.805 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006888/0.7036, allocations: 0.4928 MB / 1.199 GB, free: 6.312 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007693/0.7044, allocations: 0.633 MB / 1.2 GB, free: 5.637 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001415/0.7058, allocations: 1.091 MB / 1.201 GB, free: 4.52 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.7058, allocations: 0 / 1.201 GB, free: 4.52 MB / 1.042 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.006527/0.7124, allocations: 2.757 MB / 1.204 GB, free: 1.742 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/0.7124, allocations: 4 kB / 1.204 GB, free: 1.738 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.7124, allocations: 8.125 kB / 1.204 GB, free: 1.73 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005045/0.7174, allocations: 1.726 MB / 1.206 GB, free: 15.99 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005149/0.718, allocations: 128.2 kB / 1.206 GB, free: 15.87 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008252/0.7262, allocations: 6.869 MB / 1.212 GB, free: 8.77 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007966/0.727, allocations: 44.02 kB / 1.212 GB, free: 8.727 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.647e-05/0.7271, allocations: 59.84 kB / 1.212 GB, free: 8.668 MB / 1.057 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (5,3,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003612/0.7275, allocations: 201.8 kB / 1.213 GB, free: 8.461 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001654/0.7276, allocations: 83.48 kB / 1.213 GB, free: 8.379 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003284/0.7309, allocations: 1.929 MB / 1.215 GB, free: 6.438 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.7309, allocations: 4 kB / 1.215 GB, free: 6.434 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/0.7309, allocations: 7.938 kB / 1.215 GB, free: 6.426 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.7309, allocations: 3.984 kB / 1.215 GB, free: 6.422 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004303/0.7352, allocations: 2.656 MB / 1.217 GB, free: 3.688 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.7352, allocations: 7.938 kB / 1.217 GB, free: 3.68 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004084/0.7356, allocations: 115.8 kB / 1.217 GB, free: 3.566 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001734/0.7374, allocations: 0.8016 MB / 1.218 GB, free: 2.758 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.087e-05/0.7375, allocations: 19.98 kB / 1.218 GB, free: 2.738 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004703/0.7422, allocations: 4.596 MB / 1.223 GB, free: 13.91 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.7422, allocations: 11.69 kB / 1.223 GB, free: 13.91 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004149/0.7463, allocations: 2.454 MB / 1.225 GB, free: 11.41 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004701/0.7468, allocations: 179.3 kB / 1.225 GB, free: 11.23 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.599e-05/0.7469, allocations: 12 kB / 1.225 GB, free: 11.22 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007992/0.7477, allocations: 51.94 kB / 1.225 GB, free: 11.17 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001748/0.7478, allocations: 52.34 kB / 1.225 GB, free: 11.12 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.163e-05/0.7479, allocations: 19.98 kB / 1.225 GB, free: 11.1 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.0005211/0.7484, allocations: 0.5068 MB / 1.226 GB, free: 10.6 MB / 1.073 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7484, allocations: 0 / 1.226 GB, free: 10.6 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.0008593/0.7493, allocations: 295.8 kB / 1.226 GB, free: 10.31 MB / 1.073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * 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 (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004353/0.7536, allocations: 3.082 MB / 1.229 GB, free: 7.172 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.002843/0.7565, allocations: 1.604 MB / 1.231 GB, free: 5.543 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 5.299e-06/0.7565, allocations: 4.25 kB / 1.231 GB, free: 5.539 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.001355/0.7578, allocations: 0.9648 MB / 1.232 GB, free: 4.551 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001447/0.7593, allocations: 457.6 kB / 1.232 GB, free: 4.105 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02069/0.78, allocations: 11.05 MB / 1.243 GB, free: 8.875 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.7803, allocations: 389.4 kB / 1.243 GB, free: 8.469 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.0006835/0.7809, allocations: 162.7 kB / 1.243 GB, free: 8.305 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003621/0.7813, allocations: 288.4 kB / 1.244 GB, free: 8.023 MB / 1.089 GB Notification: Performance of SimCode: time 1.352e-06/0.7813, allocations: 0 / 1.244 GB, free: 8.023 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1295/0.9108, allocations: 35.17 MB / 1.278 GB, free: 5.5 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.894/9.805, allocations: 5.25 kB / 1.278 GB, free: 5.496 MB / 1.12 GB " [Timeout remaining time 290] (rm -f Buildings_13_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_13_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_13_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_13_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Airflow_Multizone_Examples_PowerLaw.fmu) > Buildings_13_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Airflow.Multizone.Examples.PowerLaw_fmpy.pipe ; mkfifo Buildings_13_Buildings.Airflow.Multizone.Examples.PowerLaw_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Airflow.Multizone.Examples.PowerLaw_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Airflow.Multizone.Examples.PowerLaw_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Airflow.Multizone.Examples.PowerLaw_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Airflow_Multizone_Examples_PowerLaw.fmu) > Buildings_13_Buildings.Airflow.Multizone.Examples.PowerLaw_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.282085102051497]