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.0008156/0.0008156, allocations: 100.3 kB / 19.72 MB, free: 428 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.000885/0.000885, allocations: 215.3 kB / 23.03 MB, free: 2.969 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.9529/0.9529, allocations: 230.6 MB / 256.8 MB, free: 9.59 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.925/1.925, allocations: 0.5045 GB / 0.8104 GB, free: 2.758 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.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 0.0009342/0.0009342, allocations: 75.83 kB / 1.177 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6461/0.6471, allocations: 180 MB / 1.352 GB, free: 1.68 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.1272/0.7742, allocations: 170.5 MB / 1.519 GB, free: 6.555 MB / 1.198 GB Notification: Performance of NFInst.instExpressions: time 0.003712/0.7779, allocations: 3.925 MB / 1.523 GB, free: 2.625 MB / 1.198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002702/0.7782, allocations: 27.81 kB / 1.523 GB, free: 2.598 MB / 1.198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007596/0.779, allocations: 453.1 kB / 1.523 GB, free: 2.152 MB / 1.198 GB Notification: Performance of NFTyping.typeBindings: time 0.001855/0.7808, allocations: 1.63 MB / 1.525 GB, free: 0.5156 MB / 1.198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001655/0.7825, allocations: 1.387 MB / 1.526 GB, free: 15.13 MB / 1.214 GB Notification: Performance of NFFlatten.flatten: time 0.001064/0.7836, allocations: 1.657 MB / 1.528 GB, free: 13.46 MB / 1.214 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006232/0.7842, allocations: 0.8415 MB / 1.529 GB, free: 12.61 MB / 1.214 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008798/0.7851, allocations: 1.133 MB / 1.53 GB, free: 11.47 MB / 1.214 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006552/0.7857, allocations: 0.8525 MB / 1.531 GB, free: 10.62 MB / 1.214 GB Notification: Performance of NFPackage.collectConstants: time 9.908e-05/0.7858, allocations: 104 kB / 1.531 GB, free: 10.52 MB / 1.214 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009831/0.7868, allocations: 1.13 MB / 1.532 GB, free: 9.383 MB / 1.214 GB Notification: Performance of NFScalarize.scalarize: time 0.0002218/0.787, allocations: 382.8 kB / 1.532 GB, free: 9.008 MB / 1.214 GB Notification: Performance of NFVerifyModel.verify: time 0.0002984/0.7873, allocations: 474.1 kB / 1.533 GB, free: 8.543 MB / 1.214 GB Notification: Performance of NFConvertDAE.convert: time 0.00115/0.7885, allocations: 1.698 MB / 1.534 GB, free: 6.84 MB / 1.214 GB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.7885, allocations: 0 / 1.534 GB, free: 6.84 MB / 1.214 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7885, allocations: 0 / 1.534 GB, free: 6.84 MB / 1.214 GB Notification: Performance of Transformations before backend: time 8.947e-06/0.7885, allocations: 0 / 1.534 GB, free: 6.84 MB / 1.214 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.001465/0.7899, allocations: 1.208 MB / 1.535 GB, free: 5.598 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.79, allocations: 8.922 kB / 1.535 GB, free: 5.59 MB / 1.214 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.145e-05/0.7901, allocations: 94.52 kB / 1.536 GB, free: 5.488 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001592/0.7917, allocations: 430.9 kB / 1.536 GB, free: 5.066 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006461/0.7923, allocations: 0.5733 MB / 1.536 GB, free: 4.465 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.669e-05/0.7923, allocations: 37 kB / 1.537 GB, free: 4.43 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.292e-05/0.7924, allocations: 48 kB / 1.537 GB, free: 4.383 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/0.7937, allocations: 1.179 MB / 1.538 GB, free: 3.117 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.7937, allocations: 7.938 kB / 1.538 GB, free: 3.109 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.048e-05/0.7937, allocations: 24 kB / 1.538 GB, free: 3.086 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.873e-05/0.7938, allocations: 39.86 kB / 1.538 GB, free: 3.047 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001463/0.7952, allocations: 1.198 MB / 1.539 GB, free: 1.852 MB / 1.214 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003319/0.7986, allocations: 3.928 MB / 1.543 GB, free: 13.8 MB / 1.229 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001253/0.7998, allocations: 0.8474 MB / 1.544 GB, free: 12.94 MB / 1.229 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006997/0.8005, allocations: 0.576 MB / 1.544 GB, free: 12.36 MB / 1.229 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002306/0.8007, allocations: 88.34 kB / 1.544 GB, free: 12.27 MB / 1.229 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.8008, allocations: 39 kB / 1.544 GB, free: 12.23 MB / 1.229 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001146/0.8019, allocations: 0.6244 MB / 1.545 GB, free: 11.6 MB / 1.229 GB Notification: Performance of pre-optimization done (n=50): time 1.884e-06/0.8019, allocations: 4 kB / 1.545 GB, free: 11.6 MB / 1.229 GB Notification: Performance of matching and sorting (n=50): time 0.009498/0.8114, allocations: 3.976 MB / 1.549 GB, free: 7.605 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.8114, allocations: 55.84 kB / 1.549 GB, free: 7.539 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000559/0.812, allocations: 0.7195 MB / 1.55 GB, free: 6.805 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 5.607e-05/0.812, allocations: 33.7 kB / 1.55 GB, free: 6.766 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001703/0.8122, allocations: 328.8 kB / 1.55 GB, free: 6.441 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.8123, allocations: 186.4 kB / 1.55 GB, free: 6.258 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001885/0.8125, allocations: 150 kB / 1.55 GB, free: 6.105 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 7.523e-05/0.8126, allocations: 330 kB / 1.551 GB, free: 5.777 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006515/0.8133, allocations: 0.4928 MB / 1.551 GB, free: 5.281 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007071/0.814, allocations: 0.629 MB / 1.552 GB, free: 4.617 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00137/0.8153, allocations: 1.094 MB / 1.553 GB, free: 3.496 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.8153, allocations: 0 / 1.553 GB, free: 3.496 MB / 1.229 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.006203/0.8215, allocations: 2.756 MB / 1.555 GB, free: 0.7227 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.8216, allocations: 8 kB / 1.555 GB, free: 0.7148 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.8216, allocations: 4 kB / 1.555 GB, free: 0.7109 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004588/0.8261, allocations: 1.73 MB / 1.557 GB, free: 14.97 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003655/0.8265, allocations: 127.8 kB / 1.557 GB, free: 14.85 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007419/0.8339, allocations: 6.874 MB / 1.564 GB, free: 7.734 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000583/0.8345, allocations: 48.02 kB / 1.564 GB, free: 7.688 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-05/0.8346, allocations: 51.92 kB / 1.564 GB, free: 7.637 MB / 1.245 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.0002863/0.8349, allocations: 210.2 kB / 1.564 GB, free: 7.422 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.835, allocations: 83.48 kB / 1.564 GB, free: 7.34 MB / 1.245 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003056/0.8381, allocations: 1.912 MB / 1.566 GB, free: 5.406 MB / 1.245 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.8381, allocations: 8 kB / 1.566 GB, free: 5.398 MB / 1.245 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.8381, allocations: 4 kB / 1.566 GB, free: 5.395 MB / 1.245 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.8381, allocations: 7.922 kB / 1.566 GB, free: 5.387 MB / 1.245 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003781/0.8419, allocations: 2.655 MB / 1.569 GB, free: 2.652 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.8419, allocations: 8.031 kB / 1.569 GB, free: 2.645 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003551/0.8422, allocations: 111.8 kB / 1.569 GB, free: 2.535 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001586/0.8438, allocations: 0.7941 MB / 1.57 GB, free: 1.734 MB / 1.245 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.594e-05/0.8439, allocations: 23.92 kB / 1.57 GB, free: 1.711 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003836/0.8477, allocations: 4.611 MB / 1.574 GB, free: 12.87 MB / 1.26 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.8477, allocations: 3.984 kB / 1.574 GB, free: 12.87 MB / 1.26 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003482/0.8512, allocations: 2.457 MB / 1.577 GB, free: 10.38 MB / 1.26 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000276/0.8514, allocations: 175.3 kB / 1.577 GB, free: 10.2 MB / 1.26 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.335e-05/0.8515, allocations: 12 kB / 1.577 GB, free: 10.19 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003829/0.8519, allocations: 47.94 kB / 1.577 GB, free: 10.14 MB / 1.26 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.852, allocations: 60.22 kB / 1.577 GB, free: 10.09 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.873e-05/0.8521, allocations: 19.98 kB / 1.577 GB, free: 10.07 MB / 1.26 GB Notification: Performance of sorting global known variables: time 0.0003983/0.8525, allocations: 0.5068 MB / 1.577 GB, free: 9.562 MB / 1.26 GB Notification: Performance of sort global known variables: time 7e-08/0.8525, allocations: 0 / 1.577 GB, free: 9.562 MB / 1.26 GB Notification: Performance of remove unused functions: time 0.0006334/0.8531, allocations: 295.8 kB / 1.578 GB, free: 9.273 MB / 1.26 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.003787/0.8569, allocations: 3.085 MB / 1.581 GB, free: 6.129 MB / 1.26 GB Notification: Performance of simCode: created initialization part: time 0.002443/0.8593, allocations: 1.615 MB / 1.582 GB, free: 4.488 MB / 1.26 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.8593, allocations: 256 / 1.582 GB, free: 4.488 MB / 1.26 GB Notification: Performance of simCode: created simulation system equations: time 0.001114/0.8604, allocations: 0.9566 MB / 1.583 GB, free: 3.504 MB / 1.26 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.8616, allocations: 457 kB / 1.584 GB, free: 3.062 MB / 1.26 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01712/0.8787, allocations: 11.12 MB / 1.594 GB, free: 7.762 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.879, allocations: 389.3 kB / 1.595 GB, free: 7.355 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.0004525/0.8794, allocations: 166.7 kB / 1.595 GB, free: 7.188 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003449/0.8798, allocations: 295.3 kB / 1.595 GB, free: 6.898 MB / 1.276 GB Notification: Performance of SimCode: time 1.303e-06/0.8798, allocations: 3.938 kB / 1.595 GB, free: 6.895 MB / 1.276 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1015/0.9812, allocations: 35.23 MB / 1.63 GB, free: 4.301 MB / 1.307 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.702/8.683, allocations: 5.812 kB / 1.63 GB, free: 4.297 MB / 1.307 GB " [Timeout remaining time 291] (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: 13.32744912430644]