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.0008606/0.0008606, allocations: 104.3 kB / 19.72 MB, free: 424 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.001068/0.001068, allocations: 214.8 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.9856/0.9856, 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.902/1.902, allocations: 0.5046 GB / 0.8104 GB, free: 2.727 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.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 0.0009851/0.0009851, allocations: 71.91 kB / 1.177 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6677/0.6687, allocations: 180 MB / 1.352 GB, free: 1.598 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1164/0.7851, allocations: 153.5 MB / 1.502 GB, free: 7.559 MB / 1.182 GB Notification: Performance of NFInst.instExpressions: time 0.002907/0.788, allocations: 2.277 MB / 1.505 GB, free: 5.277 MB / 1.182 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002677/0.7883, allocations: 19.81 kB / 1.505 GB, free: 5.258 MB / 1.182 GB Notification: Performance of NFTyping.typeComponents: time 0.0006217/0.7889, allocations: 238.4 kB / 1.505 GB, free: 5.023 MB / 1.182 GB Notification: Performance of NFTyping.typeBindings: time 0.001611/0.7905, allocations: 0.9784 MB / 1.506 GB, free: 4.043 MB / 1.182 GB Notification: Performance of NFTyping.typeClassSections: time 0.001359/0.7919, allocations: 0.8324 MB / 1.507 GB, free: 3.211 MB / 1.182 GB Notification: Performance of NFFlatten.flatten: time 0.0008027/0.7927, allocations: 0.9622 MB / 1.507 GB, free: 2.242 MB / 1.182 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003009/0.793, allocations: 251.5 kB / 1.508 GB, free: 1.992 MB / 1.182 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006965/0.7937, allocations: 0.619 MB / 1.508 GB, free: 1.371 MB / 1.182 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002704/0.7939, allocations: 306.7 kB / 1.509 GB, free: 1.07 MB / 1.182 GB Notification: Performance of NFPackage.collectConstants: time 4.534e-05/0.794, allocations: 36 kB / 1.509 GB, free: 1.035 MB / 1.182 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001049/0.795, allocations: 0.8492 MB / 1.509 GB, free: 188 kB / 1.182 GB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.7951, allocations: 159.4 kB / 1.51 GB, free: 28 kB / 1.182 GB Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.7953, allocations: 203.1 kB / 1.51 GB, free: 15.82 MB / 1.198 GB Notification: Performance of NFConvertDAE.convert: time 0.0008372/0.7961, allocations: 0.9187 MB / 1.511 GB, free: 14.91 MB / 1.198 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.7961, allocations: 0 / 1.511 GB, free: 14.91 MB / 1.198 GB Notification: Performance of FrontEnd: time 1.893e-06/0.7961, allocations: 0 / 1.511 GB, free: 14.91 MB / 1.198 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.7961, allocations: 0 / 1.511 GB, free: 14.91 MB / 1.198 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.0008115/0.7969, allocations: 0.7531 MB / 1.511 GB, free: 14.12 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.797, allocations: 12.92 kB / 1.511 GB, free: 14.11 MB / 1.198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.282e-05/0.797, allocations: 70.53 kB / 1.512 GB, free: 14.03 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009149/0.7979, allocations: 227.3 kB / 1.512 GB, free: 13.81 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004426/0.7984, allocations: 324 kB / 1.512 GB, free: 13.47 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.7984, allocations: 24.66 kB / 1.512 GB, free: 13.45 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.818e-05/0.7984, allocations: 28 kB / 1.512 GB, free: 13.42 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004957/0.7989, allocations: 456.3 kB / 1.513 GB, free: 12.93 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.799, allocations: 0 / 1.513 GB, free: 12.93 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.664e-05/0.799, allocations: 19.94 kB / 1.513 GB, free: 12.91 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.8e-05/0.799, allocations: 8 kB / 1.513 GB, free: 12.91 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000417/0.7994, allocations: 313.7 kB / 1.513 GB, free: 12.6 MB / 1.198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001187/0.8006, allocations: 1.351 MB / 1.514 GB, free: 11.18 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000426/0.801, allocations: 282.2 kB / 1.514 GB, free: 10.9 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/0.8012, allocations: 124.8 kB / 1.515 GB, free: 10.77 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002398/0.8014, allocations: 79.91 kB / 1.515 GB, free: 10.7 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.8015, allocations: 34.56 kB / 1.515 GB, free: 10.65 MB / 1.198 GB Notification: Performance of pre-optimization done (n=23): time 2.364e-06/0.8015, allocations: 3.984 kB / 1.515 GB, free: 10.65 MB / 1.198 GB Notification: Performance of matching and sorting (n=23): time 0.0007267/0.8022, allocations: 432.3 kB / 1.515 GB, free: 10.22 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.606e-05/0.8022, allocations: 55.41 kB / 1.515 GB, free: 10.16 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003072/0.8025, allocations: 421.9 kB / 1.516 GB, free: 9.73 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.8025, allocations: 29.7 kB / 1.516 GB, free: 9.695 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.8027, allocations: 220.4 kB / 1.516 GB, free: 9.477 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 4.795e-05/0.8027, allocations: 87.27 kB / 1.516 GB, free: 9.391 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.529e-05/0.8028, allocations: 53.94 kB / 1.516 GB, free: 9.332 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 9.096e-05/0.8029, allocations: 354.7 kB / 1.516 GB, free: 8.977 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/0.803, allocations: 104.4 kB / 1.516 GB, free: 8.875 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001991/0.8032, allocations: 203.7 kB / 1.517 GB, free: 8.652 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003353/0.8036, allocations: 257.5 kB / 1.517 GB, free: 8.391 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.8036, allocations: 0 / 1.517 GB, free: 8.391 MB / 1.198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004238/0.804, allocations: 329.9 kB / 1.517 GB, free: 8.062 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.804, allocations: 8 kB / 1.517 GB, free: 8.055 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.804, allocations: 32 / 1.517 GB, free: 8.055 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.804, allocations: 8 kB / 1.517 GB, free: 8.047 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/0.8042, allocations: 55.89 kB / 1.517 GB, free: 7.992 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.8042, allocations: 7.938 kB / 1.517 GB, free: 7.984 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.8044, allocations: 43.69 kB / 1.517 GB, free: 7.941 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.188e-05/0.8044, allocations: 12 kB / 1.517 GB, free: 7.93 MB / 1.198 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.0001155/0.8045, allocations: 158.3 kB / 1.517 GB, free: 7.766 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.938e-05/0.8045, allocations: 43.72 kB / 1.517 GB, free: 7.723 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000463/0.805, allocations: 341.1 kB / 1.518 GB, free: 7.379 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.805, allocations: 4.109 kB / 1.518 GB, free: 7.375 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.805, allocations: 11.86 kB / 1.518 GB, free: 7.363 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.805, allocations: 0 / 1.518 GB, free: 7.363 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000921/0.8059, allocations: 0.8148 MB / 1.519 GB, free: 6.48 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.8059, allocations: 4 kB / 1.519 GB, free: 6.477 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001668/0.8061, allocations: 55.89 kB / 1.519 GB, free: 6.422 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.8061, allocations: 0 / 1.519 GB, free: 6.422 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.8061, allocations: 8 kB / 1.519 GB, free: 6.414 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.8061, allocations: 12.17 kB / 1.519 GB, free: 6.402 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.8061, allocations: 7.938 kB / 1.519 GB, free: 6.395 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006549/0.8068, allocations: 0.5838 MB / 1.519 GB, free: 5.777 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.798e-05/0.8069, allocations: 67.72 kB / 1.519 GB, free: 5.711 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.611e-05/0.8069, allocations: 8 kB / 1.519 GB, free: 5.703 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.8071, allocations: 27.97 kB / 1.519 GB, free: 5.676 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.091e-05/0.8071, allocations: 27.84 kB / 1.519 GB, free: 5.648 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.8071, allocations: 8 kB / 1.519 GB, free: 5.641 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.0002072/0.8074, allocations: 299.1 kB / 1.52 GB, free: 5.352 MB / 1.198 GB Notification: Performance of sort global known variables: time 8e-08/0.8074, allocations: 0 / 1.52 GB, free: 5.352 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.0003071/0.8077, allocations: 111.8 kB / 1.52 GB, free: 5.242 MB / 1.198 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.0009676/0.8086, allocations: 1.186 MB / 1.521 GB, free: 4.016 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.0004237/0.8091, allocations: 259.5 kB / 1.521 GB, free: 3.762 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.8091, allocations: 0 / 1.521 GB, free: 3.762 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.000184/0.8092, allocations: 140.2 kB / 1.521 GB, free: 3.625 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006437/0.8099, allocations: 222.3 kB / 1.522 GB, free: 3.41 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003551/0.8134, allocations: 3.879 MB / 1.525 GB, free: 15.4 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001419/0.8136, allocations: 220.1 kB / 1.526 GB, free: 15.16 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.0002325/0.8138, allocations: 91.3 kB / 1.526 GB, free: 15.07 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001542/0.814, allocations: 135.4 kB / 1.526 GB, free: 14.93 MB / 1.214 GB Notification: Performance of SimCode: time 7.21e-07/0.814, allocations: 0 / 1.526 GB, free: 14.93 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09124/0.9052, allocations: 13.88 MB / 1.539 GB, free: 1.43 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.792/7.697, allocations: 2.062 kB / 1.539 GB, free: 1.43 MB / 1.214 GB " [Timeout remaining time 292] (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: 12.44616453628987]