Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001812/0.001812, allocations: 100.3 kB / 19.69 MB, free: 1.805 MB / 14.72 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.002229/0.002229, allocations: 209.6 kB / 22.99 MB, free: 4.605 MB / 14.72 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 1.514/1.514, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.014/1.014, allocations: 149.9 MB / 463.1 MB, free: 10.35 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Airflow.Multizone.Examples.Orifice,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.Orifice,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002447/0.002447, allocations: 68.02 kB / 0.6411 GB, free: 10.13 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.1876, allocations: 89.18 MB / 0.7282 GB, free: 1.023 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.Orifice): time 0.6282/0.8158, allocations: 153.5 MB / 0.878 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.005322/0.8211, allocations: 2.307 MB / 0.8803 GB, free: 9.438 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004831/0.8216, allocations: 15.88 kB / 0.8803 GB, free: 9.422 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0009056/0.8225, allocations: 230.3 kB / 0.8805 GB, free: 9.195 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003155/0.8257, allocations: 0.9789 MB / 0.8815 GB, free: 8.215 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002978/0.8287, allocations: 0.8481 MB / 0.8823 GB, free: 7.367 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002065/0.8307, allocations: 0.9779 MB / 0.8833 GB, free: 6.387 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005983/0.8313, allocations: 263.5 kB / 0.8835 GB, free: 6.125 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001575/0.8329, allocations: 0.6267 MB / 0.8841 GB, free: 5.496 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004715/0.8334, allocations: 310.6 kB / 0.8844 GB, free: 5.191 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.816e-05/0.8334, allocations: 36 kB / 0.8844 GB, free: 5.156 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002377/0.8358, allocations: 0.8492 MB / 0.8853 GB, free: 4.305 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002579/0.8361, allocations: 151.5 kB / 0.8854 GB, free: 4.156 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003295/0.8364, allocations: 211 kB / 0.8856 GB, free: 3.949 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002343/0.8388, allocations: 0.9129 MB / 0.8865 GB, free: 3.039 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.8388, allocations: 4 kB / 0.8865 GB, free: 3.035 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.324e-06/0.8388, allocations: 0 / 0.8865 GB, free: 3.035 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.8388, allocations: 0 / 0.8865 GB, free: 3.035 MB / 0.6544 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.001466/0.8402, allocations: 0.757 MB / 0.8873 GB, free: 2.246 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.564e-05/0.8403, allocations: 8.031 kB / 0.8873 GB, free: 2.238 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.723e-05/0.8404, allocations: 70.55 kB / 0.8873 GB, free: 2.16 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001617/0.842, allocations: 227.4 kB / 0.8876 GB, free: 1.938 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007727/0.8428, allocations: 335.8 kB / 0.8879 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.189e-05/0.8428, allocations: 21.53 kB / 0.8879 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.066e-05/0.8429, allocations: 35.94 kB / 0.8879 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008345/0.8437, allocations: 452.4 kB / 0.8884 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.8437, allocations: 3.938 kB / 0.8884 GB, free: 1.039 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.832e-05/0.8438, allocations: 19.88 kB / 0.8884 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.044e-05/0.8438, allocations: 8 kB / 0.8884 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007484/0.8445, allocations: 313.7 kB / 0.8887 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002091/0.8466, allocations: 1.361 MB / 0.89 GB, free: 15.28 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000734/0.8474, allocations: 271.5 kB / 0.8903 GB, free: 15.01 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003247/0.8477, allocations: 128.8 kB / 0.8904 GB, free: 14.88 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004674/0.8482, allocations: 75.91 kB / 0.8905 GB, free: 14.8 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/0.8482, allocations: 47.31 kB / 0.8905 GB, free: 14.75 MB / 0.67 GB Notification: Performance of pre-optimization done (n=23): time 2.395e-06/0.8482, allocations: 0 / 0.8905 GB, free: 14.75 MB / 0.67 GB Notification: Performance of matching and sorting (n=23): time 0.001275/0.8495, allocations: 429.1 kB / 0.8909 GB, free: 14.32 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.8495, allocations: 51.41 kB / 0.891 GB, free: 14.26 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005325/0.8501, allocations: 429.9 kB / 0.8914 GB, free: 13.83 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.088e-05/0.8501, allocations: 29.7 kB / 0.8914 GB, free: 13.8 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/0.8503, allocations: 212.4 kB / 0.8916 GB, free: 13.59 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 9.598e-05/0.8504, allocations: 91.27 kB / 0.8917 GB, free: 13.5 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.8505, allocations: 53.69 kB / 0.8918 GB, free: 13.44 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001882/0.8507, allocations: 350.7 kB / 0.8921 GB, free: 13.09 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003113/0.851, allocations: 103.9 kB / 0.8922 GB, free: 12.98 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003748/0.8514, allocations: 207.6 kB / 0.8924 GB, free: 12.76 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006136/0.852, allocations: 256.9 kB / 0.8926 GB, free: 12.5 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.852, allocations: 0 / 0.8926 GB, free: 12.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007771/0.8528, allocations: 338.6 kB / 0.893 GB, free: 12.16 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.8528, allocations: 4 kB / 0.893 GB, free: 12.16 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.8528, allocations: 1.531 kB / 0.893 GB, free: 12.16 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.8528, allocations: 8 kB / 0.893 GB, free: 12.15 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003358/0.8531, allocations: 64 kB / 0.893 GB, free: 12.09 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.8532, allocations: 7.875 kB / 0.893 GB, free: 12.08 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002949/0.8535, allocations: 39.78 kB / 0.8931 GB, free: 12.04 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.226e-05/0.8535, allocations: 8 kB / 0.8931 GB, free: 12.03 MB / 0.67 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.0002061/0.8537, allocations: 165.7 kB / 0.8932 GB, free: 11.86 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.991e-05/0.8538, allocations: 43.77 kB / 0.8933 GB, free: 11.82 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008713/0.8546, allocations: 341.1 kB / 0.8936 GB, free: 11.47 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.8546, allocations: 4 kB / 0.8936 GB, free: 11.47 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.687e-06/0.8547, allocations: 6.969 kB / 0.8936 GB, free: 11.46 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.8547, allocations: 3.984 kB / 0.8936 GB, free: 11.46 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001632/0.8563, allocations: 0.8282 MB / 0.8944 GB, free: 10.57 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.8563, allocations: 4 kB / 0.8944 GB, free: 10.56 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003156/0.8566, allocations: 51.89 kB / 0.8945 GB, free: 10.51 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.899e-06/0.8566, allocations: 4 kB / 0.8945 GB, free: 10.51 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.597e-05/0.8566, allocations: 8 kB / 0.8945 GB, free: 10.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.8567, allocations: 8.188 kB / 0.8945 GB, free: 10.49 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.8567, allocations: 0 / 0.8945 GB, free: 10.49 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.8578, allocations: 0.582 MB / 0.8951 GB, free: 9.875 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001953/0.858, allocations: 79.72 kB / 0.8951 GB, free: 9.797 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.483e-05/0.8581, allocations: 11.98 kB / 0.8952 GB, free: 9.785 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003295/0.8584, allocations: 19.98 kB / 0.8952 GB, free: 9.766 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.751e-05/0.8585, allocations: 23.81 kB / 0.8952 GB, free: 9.742 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.564e-05/0.8585, allocations: 15.98 kB / 0.8952 GB, free: 9.727 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0003484/0.8589, allocations: 307.1 kB / 0.8955 GB, free: 9.43 MB / 0.67 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8589, allocations: 3.938 kB / 0.8955 GB, free: 9.426 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004668/0.8593, allocations: 111.8 kB / 0.8956 GB, free: 9.316 MB / 0.67 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.001696/0.861, allocations: 1.185 MB / 0.8968 GB, free: 8.09 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0007502/0.8618, allocations: 261.4 kB / 0.897 GB, free: 7.836 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.8618, allocations: 0 / 0.897 GB, free: 7.836 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0003522/0.8621, allocations: 138.2 kB / 0.8972 GB, free: 7.703 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/0.8633, allocations: 232.4 kB / 0.8974 GB, free: 7.492 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006197/0.8695, allocations: 3.871 MB / 0.9012 GB, free: 3.488 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/0.8697, allocations: 224.1 kB / 0.9014 GB, free: 3.246 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0004104/0.8701, allocations: 91.28 kB / 0.9015 GB, free: 3.156 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002436/0.8704, allocations: 139.4 kB / 0.9016 GB, free: 3.02 MB / 0.67 GB Notification: Performance of SimCode: time 7.81e-07/0.8704, allocations: 0 / 0.9016 GB, free: 3.02 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05045/0.9208, allocations: 14.09 MB / 0.9153 GB, free: 5.316 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.53, allocations: 4.062 kB / 0.9154 GB, free: 5.312 MB / 0.6856 GB " [Timeout remaining time 647] (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_Orifice.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.62561219697818] Failed to read output from testmodel.py, exit status != 0: 12.64338826900348 12.667357454 11.824307274 Calling exit ...