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.001438/0.001438, allocations: 109 kB / 20.48 MB, free: 1.473 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.002284/0.002284, allocations: 211.5 kB / 23.79 MB, free: 4.684 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.551/1.551, allocations: 230.6 MB / 257.6 MB, free: 8 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 0.9697/0.9697, allocations: 150 MB / 464 MB, free: 10.51 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.002232/0.002232, allocations: 60.62 kB / 0.642 GB, free: 10.42 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1881/0.1903, allocations: 89.16 MB / 0.7291 GB, free: 1.324 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.Orifice): time 0.6421/0.8324, allocations: 177.6 MB / 0.9025 GB, free: 5.816 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.004908/0.8373, allocations: 2.475 MB / 0.9049 GB, free: 3.336 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006848/0.838, allocations: 19.81 kB / 0.9049 GB, free: 3.316 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0008912/0.8389, allocations: 238.3 kB / 0.9052 GB, free: 3.082 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002915/0.8418, allocations: 1.015 MB / 0.9061 GB, free: 2.062 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002708/0.8445, allocations: 0.8658 MB / 0.907 GB, free: 1.199 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001865/0.8464, allocations: 0.9779 MB / 0.9079 GB, free: 224 kB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005843/0.847, allocations: 271.5 kB / 0.9082 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001496/0.8485, allocations: 0.6228 MB / 0.9088 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000615/0.8491, allocations: 330.7 kB / 0.9091 GB, free: 15 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 8.035e-05/0.8492, allocations: 36 kB / 0.9092 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002421/0.8516, allocations: 1.107 MB / 0.9102 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002472/0.8518, allocations: 159.5 kB / 0.9104 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0003396/0.8522, allocations: 242.8 kB / 0.9106 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001956/0.8541, allocations: 0.9519 MB / 0.9116 GB, free: 12.51 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.8541, allocations: 0 / 0.9116 GB, free: 12.51 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.484e-06/0.8541, allocations: 0 / 0.9116 GB, free: 12.51 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.8541, allocations: 0 / 0.9116 GB, free: 12.51 MB / 0.6856 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.001579/0.8557, allocations: 0.7571 MB / 0.9123 GB, free: 11.72 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.8558, allocations: 12.03 kB / 0.9123 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.465e-05/0.8558, allocations: 9.156 kB / 0.9123 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.41e-05/0.8559, allocations: 70.47 kB / 0.9124 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00177/0.8577, allocations: 227.4 kB / 0.9126 GB, free: 11.4 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008143/0.8585, allocations: 335.8 kB / 0.9129 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.033e-05/0.8585, allocations: 25.09 kB / 0.9129 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.201e-05/0.8586, allocations: 32 kB / 0.913 GB, free: 10.99 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009004/0.8595, allocations: 400.9 kB / 0.9134 GB, free: 10.57 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.8595, allocations: 0 / 0.9134 GB, free: 10.57 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.655e-05/0.8595, allocations: 23.94 kB / 0.9134 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.562e-05/0.8596, allocations: 8 kB / 0.9134 GB, free: 10.54 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007993/0.8604, allocations: 310.2 kB / 0.9137 GB, free: 10.24 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002254/0.8626, allocations: 1.685 MB / 0.9153 GB, free: 8.426 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008246/0.8634, allocations: 272 kB / 0.9156 GB, free: 8.152 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003431/0.8638, allocations: 136.8 kB / 0.9157 GB, free: 8.016 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005136/0.8643, allocations: 71.91 kB / 0.9158 GB, free: 7.945 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.13e-05/0.8643, allocations: 38.56 kB / 0.9158 GB, free: 7.898 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=23): time 2.384e-06/0.8643, allocations: 0 / 0.9158 GB, free: 7.898 MB / 0.6856 GB Notification: Performance of matching and sorting (n=23): time 0.00134/0.8657, allocations: 432.3 kB / 0.9162 GB, free: 7.473 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.8657, allocations: 63.41 kB / 0.9163 GB, free: 7.398 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005494/0.8663, allocations: 425.9 kB / 0.9167 GB, free: 6.973 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.095e-05/0.8663, allocations: 25.7 kB / 0.9167 GB, free: 6.941 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001866/0.8665, allocations: 212.5 kB / 0.9169 GB, free: 6.73 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 8.649e-05/0.8666, allocations: 87.28 kB / 0.917 GB, free: 6.645 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/0.8667, allocations: 49.7 kB / 0.9171 GB, free: 6.59 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000176/0.8669, allocations: 350.7 kB / 0.9174 GB, free: 6.238 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003184/0.8672, allocations: 107.9 kB / 0.9175 GB, free: 6.133 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003615/0.8676, allocations: 148.8 kB / 0.9176 GB, free: 5.977 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006553/0.8682, allocations: 264.1 kB / 0.9179 GB, free: 5.707 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.8682, allocations: 0 / 0.9179 GB, free: 5.707 MB / 0.6856 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008609/0.8691, allocations: 337 kB / 0.9182 GB, free: 5.375 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.8691, allocations: 10.81 kB / 0.9182 GB, free: 5.367 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.8691, allocations: 4.031 kB / 0.9182 GB, free: 5.363 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.8692, allocations: 4 kB / 0.9182 GB, free: 5.359 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003508/0.8695, allocations: 63.89 kB / 0.9183 GB, free: 5.297 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.8695, allocations: 5.891 kB / 0.9183 GB, free: 5.293 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003229/0.8698, allocations: 35.77 kB / 0.9183 GB, free: 5.258 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.483e-05/0.8699, allocations: 11.98 kB / 0.9183 GB, free: 5.246 MB / 0.6856 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.0002215/0.8701, allocations: 164 kB / 0.9185 GB, free: 5.078 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.14e-05/0.8702, allocations: 47.72 kB / 0.9185 GB, free: 5.031 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009169/0.8711, allocations: 341.1 kB / 0.9189 GB, free: 4.688 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.8711, allocations: 7.938 kB / 0.9189 GB, free: 4.68 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.8711, allocations: 0 / 0.9189 GB, free: 4.68 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.8711, allocations: 3.984 kB / 0.9189 GB, free: 4.676 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001714/0.8728, allocations: 0.8694 MB / 0.9197 GB, free: 3.738 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.8728, allocations: 4.031 kB / 0.9197 GB, free: 3.734 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003359/0.8732, allocations: 55.89 kB / 0.9198 GB, free: 3.68 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.8732, allocations: 4.047 kB / 0.9198 GB, free: 3.676 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.928e-05/0.8732, allocations: 11.94 kB / 0.9198 GB, free: 3.664 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.785e-06/0.8732, allocations: 7.984 kB / 0.9198 GB, free: 3.656 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.8732, allocations: 4 kB / 0.9198 GB, free: 3.652 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001264/0.8745, allocations: 0.5897 MB / 0.9204 GB, free: 3.027 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002059/0.8747, allocations: 75.72 kB / 0.9205 GB, free: 2.953 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.042e-05/0.8748, allocations: 8 kB / 0.9205 GB, free: 2.945 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003523/0.8751, allocations: 23.97 kB / 0.9205 GB, free: 2.922 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.128e-05/0.8752, allocations: 23.81 kB / 0.9205 GB, free: 2.898 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.982e-05/0.8752, allocations: 12 kB / 0.9205 GB, free: 2.887 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0003746/0.8756, allocations: 303.1 kB / 0.9208 GB, free: 2.594 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.8756, allocations: 0 / 0.9208 GB, free: 2.594 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.000511/0.8761, allocations: 111.8 kB / 0.9209 GB, free: 2.484 MB / 0.6856 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.001799/0.8779, allocations: 1.185 MB / 0.9221 GB, free: 1.258 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0008095/0.8787, allocations: 259.6 kB / 0.9223 GB, free: 1.004 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.8787, allocations: 8.062 kB / 0.9223 GB, free: 0.9961 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003577/0.8791, allocations: 131.8 kB / 0.9225 GB, free: 0.8672 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/0.8804, allocations: 230.4 kB / 0.9227 GB, free: 0.6562 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006694/0.8871, allocations: 3.871 MB / 0.9265 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005179/0.8876, allocations: 0.8272 MB / 0.9273 GB, free: 11.8 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0004323/0.888, allocations: 91.34 kB / 0.9274 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002396/0.8882, allocations: 139.4 kB / 0.9275 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of SimCode: time 9.01e-07/0.8882, allocations: 0 / 0.9275 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04498/0.9332, allocations: 12.77 MB / 0.94 GB, free: 15.1 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.79, allocations: 15.25 kB / 0.94 GB, free: 15.09 MB / 0.7169 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: 16.77646982803708] Failed to read output from testmodel.py, exit status != 0: 12.95748670300236 12.975997208 12.118290566 Calling exit ...