Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0008867/0.0008867, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.000834/0.000834, allocations: 169.9 kB / 22.46 MB, free: 2.105 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 1.005/1.005, allocations: 177.2 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001671/0.001671, allocations: 242 kB / 259.4 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7705/0.7705, allocations: 138.4 MB / 454.3 MB, free: 1.621 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Airflow.Multizone.Examples.Orifice,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.Orifice,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.946e-06/2.946e-06, allocations: 0 / 0.6463 GB, free: 29.17 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.026e-05/3.32e-05, allocations: 6.219 kB / 0.6463 GB, free: 29.16 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.Orifice): time 0.1648/0.1649, allocations: 153.4 MB / 0.7961 GB, free: 7.77 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.00312/0.168, allocations: 2.181 MB / 0.7982 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007762/0.1688, allocations: 15.88 kB / 0.7982 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0008558/0.1696, allocations: 238.2 kB / 0.7984 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002211/0.1718, allocations: 0.9676 MB / 0.7994 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002048/0.1739, allocations: 0.8888 MB / 0.8002 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001261/0.1751, allocations: 0.9852 MB / 0.8012 GB, free: 2.484 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005069/0.1757, allocations: 263.5 kB / 0.8015 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001049/0.1767, allocations: 0.5804 MB / 0.802 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002572/0.177, allocations: 275.1 kB / 0.8023 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.34e-05/0.177, allocations: 32 kB / 0.8023 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001229/0.1782, allocations: 0.8488 MB / 0.8031 GB, free: 500 kB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001525/0.1784, allocations: 151.5 kB / 0.8033 GB, free: 348 kB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001483/0.1785, allocations: 171.6 kB / 0.8035 GB, free: 176 kB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001487/0.18, allocations: 0.9193 MB / 0.8043 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.18, allocations: 0 / 0.8043 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.683e-06/0.18, allocations: 0 / 0.8043 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.787e-06/0.18, allocations: 0 / 0.8043 GB, free: 15.25 MB / 0.6511 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.001173/0.1812, allocations: 0.7454 MB / 0.8051 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.1813, allocations: 8.75 kB / 0.8051 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.994e-05/0.1813, allocations: 74.47 kB / 0.8052 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007342/0.182, allocations: 179.5 kB / 0.8053 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000476/0.1825, allocations: 323.9 kB / 0.8056 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.1825, allocations: 28.59 kB / 0.8057 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.003e-05/0.1826, allocations: 28 kB / 0.8057 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004432/0.183, allocations: 424.3 kB / 0.8061 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.183, allocations: 0 / 0.8061 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.366e-05/0.1831, allocations: 20 kB / 0.8061 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.165e-05/0.1831, allocations: 12 kB / 0.8061 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003254/0.1834, allocations: 261.6 kB / 0.8064 GB, free: 13.07 MB / 0.6511 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001625/0.185, allocations: 1.317 MB / 0.8077 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002958/0.1853, allocations: 190.5 kB / 0.8078 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.1855, allocations: 104.8 kB / 0.8079 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004881/0.1859, allocations: 123.9 kB / 0.8081 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.334e-05/0.186, allocations: 46.55 kB / 0.8081 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=23): time 2.364e-06/0.186, allocations: 0 / 0.8081 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of matching and sorting (n=23): time 0.0005645/0.1866, allocations: 354.3 kB / 0.8084 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001253/0.1867, allocations: 59.33 kB / 0.8085 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004165/0.1871, allocations: 422 kB / 0.8089 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.1871, allocations: 29.7 kB / 0.8089 GB, free: 10.33 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.1872, allocations: 220.5 kB / 0.8091 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.412e-05/0.1873, allocations: 79.27 kB / 0.8092 GB, free: 10.03 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.986e-05/0.1873, allocations: 53.66 kB / 0.8093 GB, free: 9.969 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.125e-05/0.1874, allocations: 354.7 kB / 0.8096 GB, free: 9.613 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.1875, allocations: 83.94 kB / 0.8097 GB, free: 9.531 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.1877, allocations: 170.8 kB / 0.8098 GB, free: 9.34 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/0.1879, allocations: 218.5 kB / 0.8101 GB, free: 9.117 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1879, allocations: 0 / 0.8101 GB, free: 9.117 MB / 0.6511 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003237/0.1882, allocations: 281.3 kB / 0.8103 GB, free: 8.836 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.1883, allocations: 8.062 kB / 0.8103 GB, free: 8.828 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.1883, allocations: 4 kB / 0.8103 GB, free: 8.824 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.1883, allocations: 0 / 0.8103 GB, free: 8.824 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.1884, allocations: 51.91 kB / 0.8104 GB, free: 8.773 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.1884, allocations: 4 kB / 0.8104 GB, free: 8.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.1886, allocations: 39.66 kB / 0.8104 GB, free: 8.73 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/0.1886, allocations: 8 kB / 0.8104 GB, free: 8.723 MB / 0.6511 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.0001468/0.1887, allocations: 166.4 kB / 0.8106 GB, free: 8.551 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.077e-05/0.1888, allocations: 43.72 kB / 0.8106 GB, free: 8.508 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000553/0.1893, allocations: 292.5 kB / 0.8109 GB, free: 8.219 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.1894, allocations: 3.938 kB / 0.8109 GB, free: 8.215 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1894, allocations: 0 / 0.8109 GB, free: 8.215 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1894, allocations: 0 / 0.8109 GB, free: 8.215 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008879/0.1903, allocations: 0.7443 MB / 0.8116 GB, free: 7.402 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1903, allocations: 0 / 0.8116 GB, free: 7.402 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.1904, allocations: 55.84 kB / 0.8117 GB, free: 7.348 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/0.1904, allocations: 3.938 kB / 0.8117 GB, free: 7.344 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.1904, allocations: 4 kB / 0.8117 GB, free: 7.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.1904, allocations: 8 kB / 0.8117 GB, free: 7.332 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.1904, allocations: 7.938 kB / 0.8117 GB, free: 7.324 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005895/0.191, allocations: 0.5062 MB / 0.8122 GB, free: 6.785 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.1911, allocations: 63.73 kB / 0.8123 GB, free: 6.723 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.893e-05/0.1912, allocations: 11.98 kB / 0.8123 GB, free: 6.711 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.1913, allocations: 15.98 kB / 0.8123 GB, free: 6.695 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.308e-05/0.1914, allocations: 23.91 kB / 0.8123 GB, free: 6.672 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.1914, allocations: 8 kB / 0.8123 GB, free: 6.664 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002288/0.1916, allocations: 299.1 kB / 0.8126 GB, free: 6.375 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5e-08/0.1916, allocations: 0 / 0.8126 GB, free: 6.375 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004427/0.192, allocations: 127.7 kB / 0.8127 GB, free: 6.25 MB / 0.6511 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.0009685/0.193, allocations: 1.115 MB / 0.8138 GB, free: 5.09 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003192/0.1933, allocations: 215.5 kB / 0.814 GB, free: 4.883 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1933, allocations: 0 / 0.814 GB, free: 4.883 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.1935, allocations: 107.8 kB / 0.8141 GB, free: 4.777 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007336/0.1942, allocations: 232.8 kB / 0.8144 GB, free: 4.555 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003975/0.1982, allocations: 3.623 MB / 0.8179 GB, free: 0.8008 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000163/0.1983, allocations: 228 kB / 0.8181 GB, free: 0.5547 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002782/0.1986, allocations: 83.34 kB / 0.8182 GB, free: 484 kB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001558/0.1988, allocations: 136.5 kB / 0.8183 GB, free: 344 kB / 0.6511 GB Notification: Performance of SimCode: time 1.894e-06/0.1988, allocations: 0 / 0.8183 GB, free: 344 kB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03713/0.2359, allocations: 13.65 MB / 0.8317 GB, free: 3.062 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.035/9.271, allocations: 7.359 kB / 0.8317 GB, free: 3.059 MB / 0.6667 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_Orifice.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.679998422041535] Failed to read output from testmodel.py, exit status != 0: 9.36167458165437 9.372808635 9.190194266 Calling exit ...