Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Airflow.Multizone.Examples.Orifice.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.001292/0.001292, 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.001428/0.001428, allocations: 173.2 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.9815/0.9815, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.854/1.854, 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.Orifice,fileNamePrefix="Buildings_13_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_13_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 1.001 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.255e-05/2.436e-05, allocations: 2.281 kB / 1.001 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.6191/0.6191, allocations: 153.4 MB / 1.15 GB, free: 3.945 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.003343/0.6224, allocations: 2.274 MB / 1.153 GB, free: 2.137 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003596/0.6228, allocations: 20.56 kB / 1.153 GB, free: 2.125 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006399/0.6234, allocations: 230.4 kB / 1.153 GB, free: 1.934 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001699/0.6251, allocations: 0.9998 MB / 1.154 GB, free: 1.18 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001686/0.6268, allocations: 0.8799 MB / 1.155 GB, free: 0.5391 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0009118/0.6277, allocations: 0.9616 MB / 1.156 GB, free: 15.97 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003342/0.6281, allocations: 261 kB / 1.156 GB, free: 15.79 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008701/0.6289, allocations: 0.7303 MB / 1.157 GB, free: 15.34 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002563/0.6292, allocations: 280.5 kB / 1.157 GB, free: 15.19 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 4.15e-05/0.6292, allocations: 33.19 kB / 1.157 GB, free: 15.19 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001108/0.6303, allocations: 0.8622 MB / 1.158 GB, free: 14.71 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.6305, allocations: 165.8 kB / 1.158 GB, free: 14.59 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001378/0.6306, allocations: 164.9 kB / 1.158 GB, free: 14.52 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0009143/0.6315, allocations: 0.96 MB / 1.159 GB, free: 13.94 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.6315, allocations: 0 / 1.159 GB, free: 13.94 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.685e-06/0.6315, allocations: 4.594 kB / 1.159 GB, free: 13.94 MB / 1.01 GB Notification: Performance of Transformations before backend: time 7.194e-06/0.6315, allocations: 4 kB / 1.159 GB, free: 13.94 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.0008326/0.6324, allocations: 0.7408 MB / 1.16 GB, free: 13.33 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.6324, allocations: 15.55 kB / 1.16 GB, free: 13.33 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.813e-05/0.6325, allocations: 65.05 kB / 1.16 GB, free: 13.27 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009223/0.6334, allocations: 236.7 kB / 1.16 GB, free: 13.15 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004575/0.6338, allocations: 328.4 kB / 1.16 GB, free: 12.88 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.6339, allocations: 25.78 kB / 1.16 GB, free: 12.86 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.058e-05/0.6339, allocations: 37.34 kB / 1.16 GB, free: 12.85 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004846/0.6344, allocations: 450.2 kB / 1.161 GB, free: 12.52 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.6344, allocations: 3.938 kB / 1.161 GB, free: 12.52 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.511e-05/0.6344, allocations: 10.78 kB / 1.161 GB, free: 12.51 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.061e-05/0.6344, allocations: 10.66 kB / 1.161 GB, free: 12.51 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004141/0.6349, allocations: 308 kB / 1.161 GB, free: 12.37 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.636, allocations: 1.362 MB / 1.162 GB, free: 11.21 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000432/0.6365, allocations: 271.4 kB / 1.163 GB, free: 11.07 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001767/0.6367, allocations: 131.8 kB / 1.163 GB, free: 11 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002491/0.6369, allocations: 74.61 kB / 1.163 GB, free: 10.97 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.6369, allocations: 41.22 kB / 1.163 GB, free: 10.93 MB / 1.01 GB Notification: Performance of pre-optimization done (n=23): time 2.675e-06/0.6369, allocations: 0 / 1.163 GB, free: 10.93 MB / 1.01 GB Notification: Performance of matching and sorting (n=23): time 0.0007302/0.6377, allocations: 434.5 kB / 1.163 GB, free: 10.71 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.725e-05/0.6377, allocations: 54.02 kB / 1.163 GB, free: 10.65 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003002/0.638, allocations: 424.6 kB / 1.164 GB, free: 10.4 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.638, allocations: 29.7 kB / 1.164 GB, free: 10.36 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.6381, allocations: 214.1 kB / 1.164 GB, free: 10.17 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 4.844e-05/0.6382, allocations: 85.48 kB / 1.164 GB, free: 10.1 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.553e-05/0.6382, allocations: 52.67 kB / 1.164 GB, free: 10.06 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.611e-05/0.6383, allocations: 349.5 kB / 1.165 GB, free: 9.719 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001715/0.6385, allocations: 111.4 kB / 1.165 GB, free: 9.668 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002771/0.6388, allocations: 212.4 kB / 1.165 GB, free: 9.504 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003388/0.6391, allocations: 251 kB / 1.165 GB, free: 9.367 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.6391, allocations: 0 / 1.165 GB, free: 9.367 MB / 1.01 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004305/0.6396, allocations: 342 kB / 1.165 GB, free: 9.184 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.6396, allocations: 10.19 kB / 1.165 GB, free: 9.18 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.6396, allocations: 2.188 kB / 1.165 GB, free: 9.18 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.6396, allocations: 3 kB / 1.165 GB, free: 9.18 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001737/0.6398, allocations: 62.12 kB / 1.166 GB, free: 9.16 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.914e-06/0.6398, allocations: 8.203 kB / 1.166 GB, free: 9.152 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.6399, allocations: 35.77 kB / 1.166 GB, free: 9.117 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.6399, allocations: 8 kB / 1.166 GB, free: 9.109 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (28): * Single equations (assignments): 28 * 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 0.0001251/0.6401, allocations: 170.6 kB / 1.166 GB, free: 8.934 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.37e-05/0.6401, allocations: 43.72 kB / 1.166 GB, free: 8.891 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004754/0.6406, allocations: 333.2 kB / 1.166 GB, free: 8.555 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.6406, allocations: 0 / 1.166 GB, free: 8.555 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.6406, allocations: 4 kB / 1.166 GB, free: 8.551 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.6406, allocations: 0 / 1.166 GB, free: 8.551 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009265/0.6415, allocations: 0.8292 MB / 1.167 GB, free: 7.656 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.6415, allocations: 5.125 kB / 1.167 GB, free: 7.652 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001654/0.6417, allocations: 51.91 kB / 1.167 GB, free: 7.602 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.6417, allocations: 7.938 kB / 1.167 GB, free: 7.594 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/0.6417, allocations: 11.98 kB / 1.167 GB, free: 7.582 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.6417, allocations: 4 kB / 1.167 GB, free: 7.578 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.6417, allocations: 0 / 1.167 GB, free: 7.578 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000673/0.6424, allocations: 0.5844 MB / 1.168 GB, free: 6.961 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.6425, allocations: 75.66 kB / 1.168 GB, free: 6.887 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.133e-05/0.6425, allocations: 8 kB / 1.168 GB, free: 6.879 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.6427, allocations: 19.84 kB / 1.168 GB, free: 6.863 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.779e-05/0.6427, allocations: 27.91 kB / 1.168 GB, free: 6.836 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.6428, allocations: 12 kB / 1.168 GB, free: 6.824 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002116/0.643, allocations: 299.1 kB / 1.168 GB, free: 6.535 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.643, allocations: 0 / 1.168 GB, free: 6.535 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003161/0.6433, allocations: 119.8 kB / 1.168 GB, free: 6.418 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (ori.mExc,den1.d,den2.d) * 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 (23): * Single equations (assignments): 23 * 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.0009975/0.6443, allocations: 1.175 MB / 1.169 GB, free: 5.195 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004107/0.6447, allocations: 256 kB / 1.169 GB, free: 4.945 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6447, allocations: 4 kB / 1.169 GB, free: 4.941 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001886/0.6449, allocations: 131.8 kB / 1.17 GB, free: 4.812 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006462/0.6455, allocations: 227.3 kB / 1.17 GB, free: 4.598 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003754/0.6493, allocations: 3.796 MB / 1.174 GB, free: 0.6719 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001425/0.6494, allocations: 228 kB / 1.174 GB, free: 436 kB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002223/0.6496, allocations: 83.31 kB / 1.174 GB, free: 348 kB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001552/0.6498, allocations: 140.4 kB / 1.174 GB, free: 208 kB / 1.01 GB Notification: Performance of SimCode: time 8.91e-07/0.6498, allocations: 0 / 1.174 GB, free: 208 kB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09224/0.742, allocations: 13.93 MB / 1.188 GB, free: 2.648 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.856/8.598, allocations: 5.953 kB / 1.188 GB, free: 2.648 MB / 1.026 GB " [Timeout remaining time 291] (rm -f Buildings_13_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_13_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_13_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_13_Buildings.Airflow.Multizone.Examples.Orifice.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Airflow_Multizone_Examples_Orifice.fmu) > Buildings_13_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Airflow.Multizone.Examples.Orifice_fmpy.pipe ; mkfifo Buildings_13_Buildings.Airflow.Multizone.Examples.Orifice_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Airflow.Multizone.Examples.Orifice_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Airflow.Multizone.Examples.Orifice_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Airflow.Multizone.Examples.Orifice_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_Orifice.fmu) > Buildings_13_Buildings.Airflow.Multizone.Examples.Orifice_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.257686174474657]