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.001341/0.001341, allocations: 101.9 kB / 20.48 MB, free: 1.246 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.001791/0.001791, allocations: 218.4 kB / 23.78 MB, free: 4.145 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.51/1.51, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.031/1.031, allocations: 150 MB / 463.9 MB, free: 10.23 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.Orifice,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_Orifice",fmuType="cs",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.002194/0.002194, allocations: 58.09 kB / 0.6419 GB, free: 9.898 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.218, allocations: 89.18 MB / 0.729 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.Orifice): time 0.6192/0.8372, allocations: 153.4 MB / 0.8788 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004694/0.8419, allocations: 2.303 MB / 0.8811 GB, free: 9.238 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005247/0.8425, allocations: 19.81 kB / 0.8811 GB, free: 9.219 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007887/0.8433, allocations: 230.4 kB / 0.8813 GB, free: 8.992 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002597/0.8459, allocations: 0.9723 MB / 0.8822 GB, free: 8.016 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002369/0.8482, allocations: 0.8638 MB / 0.8831 GB, free: 7.156 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001738/0.85, allocations: 0.9818 MB / 0.884 GB, free: 6.172 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005338/0.8505, allocations: 275.4 kB / 0.8843 GB, free: 5.898 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00136/0.8519, allocations: 0.6189 MB / 0.8849 GB, free: 5.277 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000594/0.8524, allocations: 326.7 kB / 0.8852 GB, free: 4.957 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.938e-05/0.8525, allocations: 39.98 kB / 0.8853 GB, free: 4.918 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0017/0.8542, allocations: 0.8571 MB / 0.8861 GB, free: 4.059 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002366/0.8545, allocations: 167.4 kB / 0.8863 GB, free: 3.895 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002653/0.8547, allocations: 195.1 kB / 0.8864 GB, free: 3.703 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001613/0.8563, allocations: 0.9207 MB / 0.8873 GB, free: 2.785 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.8563, allocations: 0 / 0.8873 GB, free: 2.785 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.342e-06/0.8563, allocations: 0 / 0.8873 GB, free: 2.785 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.8563, allocations: 4 kB / 0.8873 GB, free: 2.781 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.001511/0.8579, allocations: 0.757 MB / 0.8881 GB, free: 1.992 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.8579, allocations: 8.031 kB / 0.8881 GB, free: 1.984 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.994e-05/0.8579, allocations: 16.59 kB / 0.8881 GB, free: 1.969 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.101e-05/0.858, allocations: 70.47 kB / 0.8882 GB, free: 1.891 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0018/0.8598, allocations: 223.4 kB / 0.8884 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007993/0.8606, allocations: 331.9 kB / 0.8887 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.352e-05/0.8606, allocations: 28.66 kB / 0.8887 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.738e-05/0.8607, allocations: 32.55 kB / 0.8888 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009061/0.8616, allocations: 456.3 kB / 0.8892 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.8616, allocations: 0 / 0.8892 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.275e-05/0.8617, allocations: 15.94 kB / 0.8892 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.369e-05/0.8617, allocations: 8 kB / 0.8892 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007967/0.8625, allocations: 313.7 kB / 0.8895 GB, free: 456 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002033/0.8645, allocations: 1.357 MB / 0.8908 GB, free: 15.02 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007609/0.8653, allocations: 267 kB / 0.8911 GB, free: 14.75 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003435/0.8656, allocations: 139.4 kB / 0.8912 GB, free: 14.62 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005191/0.8662, allocations: 75.91 kB / 0.8913 GB, free: 14.54 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.8662, allocations: 34.56 kB / 0.8913 GB, free: 14.5 MB / 0.67 GB Notification: Performance of pre-optimization done (n=23): time 1.914e-06/0.8662, allocations: 0 / 0.8913 GB, free: 14.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=23): time 0.001358/0.8675, allocations: 437 kB / 0.8918 GB, free: 14.07 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.8676, allocations: 59.34 kB / 0.8918 GB, free: 14 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005154/0.8681, allocations: 422 kB / 0.8922 GB, free: 13.57 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.629e-05/0.8681, allocations: 25.7 kB / 0.8922 GB, free: 13.54 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/0.8683, allocations: 216.4 kB / 0.8924 GB, free: 13.33 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 8.218e-05/0.8684, allocations: 87.27 kB / 0.8925 GB, free: 13.24 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.8685, allocations: 53.81 kB / 0.8926 GB, free: 13.18 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002362/0.8688, allocations: 358.7 kB / 0.8929 GB, free: 12.82 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003043/0.8691, allocations: 99.92 kB / 0.893 GB, free: 12.73 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003852/0.8695, allocations: 207.7 kB / 0.8932 GB, free: 12.5 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006568/0.8701, allocations: 260.1 kB / 0.8935 GB, free: 12.23 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.8701, allocations: 0 / 0.8935 GB, free: 12.23 MB / 0.67 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007937/0.8709, allocations: 331.4 kB / 0.8938 GB, free: 11.91 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.8709, allocations: 4 kB / 0.8938 GB, free: 11.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.8709, allocations: 4 kB / 0.8938 GB, free: 11.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.8709, allocations: 4.031 kB / 0.8938 GB, free: 11.89 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003485/0.8713, allocations: 67.83 kB / 0.8939 GB, free: 11.83 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.8713, allocations: 4 kB / 0.8939 GB, free: 11.82 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003133/0.8716, allocations: 43.7 kB / 0.8939 GB, free: 11.78 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.282e-05/0.8716, allocations: 8 kB / 0.8939 GB, free: 11.77 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.0001971/0.8718, allocations: 165.7 kB / 0.8941 GB, free: 11.6 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.361e-05/0.8719, allocations: 39.77 kB / 0.8941 GB, free: 11.56 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008766/0.8728, allocations: 348.7 kB / 0.8944 GB, free: 11.21 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.8728, allocations: 11.92 kB / 0.8944 GB, free: 11.2 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.8728, allocations: 2.625 kB / 0.8944 GB, free: 11.2 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.8728, allocations: 0 / 0.8944 GB, free: 11.2 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001682/0.8745, allocations: 0.8166 MB / 0.8952 GB, free: 10.32 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.8745, allocations: 7.938 kB / 0.8953 GB, free: 10.31 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003354/0.8749, allocations: 51.95 kB / 0.8953 GB, free: 10.26 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.8749, allocations: 0 / 0.8953 GB, free: 10.26 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.322e-05/0.8749, allocations: 11.98 kB / 0.8953 GB, free: 10.25 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.8749, allocations: 4 kB / 0.8953 GB, free: 10.24 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.8749, allocations: 8.125 kB / 0.8953 GB, free: 10.23 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001198/0.8761, allocations: 0.582 MB / 0.8959 GB, free: 9.617 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001755/0.8763, allocations: 71.72 kB / 0.896 GB, free: 9.547 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.538e-05/0.8763, allocations: 8 kB / 0.896 GB, free: 9.539 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003545/0.8767, allocations: 31.97 kB / 0.896 GB, free: 9.508 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.265e-05/0.8768, allocations: 27.75 kB / 0.896 GB, free: 9.48 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.959e-05/0.8768, allocations: 12 kB / 0.896 GB, free: 9.469 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0003614/0.8772, allocations: 299.1 kB / 0.8963 GB, free: 9.18 MB / 0.67 GB Notification: Performance of sort global known variables: time 9e-08/0.8772, allocations: 0 / 0.8963 GB, free: 9.18 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004902/0.8777, allocations: 115.8 kB / 0.8964 GB, free: 9.066 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.001815/0.8795, allocations: 1.188 MB / 0.8976 GB, free: 7.836 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0007572/0.8802, allocations: 263.5 kB / 0.8978 GB, free: 7.578 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.8802, allocations: 4 kB / 0.8979 GB, free: 7.574 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0003511/0.8806, allocations: 131.8 kB / 0.898 GB, free: 7.445 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001185/0.8818, allocations: 231.7 kB / 0.8982 GB, free: 7.238 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006381/0.8881, allocations: 3.873 MB / 0.902 GB, free: 3.238 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000268/0.8884, allocations: 224 kB / 0.9022 GB, free: 2.992 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0003941/0.8888, allocations: 91.34 kB / 0.9023 GB, free: 2.902 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002643/0.8891, allocations: 135.4 kB / 0.9024 GB, free: 2.77 MB / 0.67 GB Notification: Performance of SimCode: time 8.22e-07/0.8891, allocations: 4 kB / 0.9024 GB, free: 2.766 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04112/0.9302, allocations: 13.68 MB / 0.9158 GB, free: 5.5 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/13.09, allocations: 14.02 kB / 0.9158 GB, free: 5.488 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 17.11996130202897] Failed to read output from testmodel.py, exit status != 0: 13.260173114947975 13.274663018 12.41523097 Calling exit ...