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.001347/0.001347, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001516/0.001516, allocations: 155.4 kB / 23.01 MB, free: 4.949 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.416/1.416, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] 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.002422/0.002422, allocations: 238 kB / 260 MB, free: 444 kB / 238.1 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.9361/0.9361, allocations: 138.5 MB / 455 MB, free: 15.07 MB / 430.1 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: translateModel(BuildingSystems.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice") translateModel(BuildingSystems.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice") [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.003043/0.003043, allocations: 95.84 kB / 0.6473 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4069/0.41, allocations: 95.34 MB / 0.7404 GB, free: 17.42 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.Orifice): time 0.1903/0.6003, allocations: 153.5 MB / 0.8903 GB, free: 8.895 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004003/0.6043, allocations: 2.171 MB / 0.8924 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000277/0.6046, allocations: 19.81 kB / 0.8924 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007124/0.6053, allocations: 230.4 kB / 0.8927 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002157/0.6075, allocations: 0.9451 MB / 0.8936 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002042/0.6095, allocations: 0.8451 MB / 0.8944 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001335/0.6108, allocations: 0.9741 MB / 0.8954 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004757/0.6113, allocations: 268 kB / 0.8956 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007842/0.6121, allocations: 474.3 kB / 0.8961 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004665/0.6126, allocations: 318.6 kB / 0.8964 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.582e-05/0.6126, allocations: 36 kB / 0.8964 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001608/0.6142, allocations: 0.8335 MB / 0.8972 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.00019/0.6144, allocations: 147.5 kB / 0.8974 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002447/0.6147, allocations: 199.1 kB / 0.8976 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001367/0.616, allocations: 0.8805 MB / 0.8984 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.616, allocations: 0 / 0.8984 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.733e-06/0.616, allocations: 0 / 0.8984 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.616, allocations: 4 kB / 0.8984 GB, free: 0.5703 MB / 0.7169 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.001363/0.6174, allocations: 0.7416 MB / 0.8991 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.6174, allocations: 13.28 kB / 0.8992 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001231/0.6187, allocations: 183.4 kB / 0.8993 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000697/0.6194, allocations: 327.9 kB / 0.8996 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.649e-05/0.6194, allocations: 24.66 kB / 0.8997 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.531e-05/0.6195, allocations: 28 kB / 0.8997 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006876/0.6201, allocations: 432.3 kB / 0.9001 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.6202, allocations: 0 / 0.9001 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.17e-05/0.6202, allocations: 19.94 kB / 0.9001 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.642e-05/0.6202, allocations: 11.94 kB / 0.9001 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000536/0.6208, allocations: 253.8 kB / 0.9004 GB, free: 14.48 MB / 0.7325 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.001805/0.6226, allocations: 1.238 MB / 0.9016 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004166/0.623, allocations: 194.3 kB / 0.9018 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002288/0.6232, allocations: 114 kB / 0.9019 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006738/0.6239, allocations: 127.9 kB / 0.902 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.432e-05/0.6239, allocations: 38.56 kB / 0.902 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=23): time 1.433e-06/0.6239, allocations: 3.938 kB / 0.902 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23): time 0.0009165/0.6248, allocations: 350.8 kB / 0.9024 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.412e-05/0.6249, allocations: 51.41 kB / 0.9024 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003635/0.6253, allocations: 325.6 kB / 0.9027 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.6253, allocations: 33.7 kB / 0.9028 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/0.6255, allocations: 220.5 kB / 0.903 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.6256, allocations: 91.25 kB / 0.9031 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.453e-05/0.6257, allocations: 49.66 kB / 0.9031 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.6258, allocations: 346.8 kB / 0.9034 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002249/0.6261, allocations: 79.94 kB / 0.9035 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000262/0.6263, allocations: 173.7 kB / 0.9037 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004266/0.6267, allocations: 220.7 kB / 0.9039 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.6267, allocations: 0 / 0.9039 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005906/0.6273, allocations: 275.7 kB / 0.9042 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.6273, allocations: 12.06 kB / 0.9042 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.6274, allocations: 0 / 0.9042 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.6274, allocations: 0 / 0.9042 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002439/0.6276, allocations: 51.91 kB / 0.9042 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.6276, allocations: 4 kB / 0.9042 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00026/0.6279, allocations: 27.77 kB / 0.9043 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.891e-05/0.6279, allocations: 12 kB / 0.9043 GB, free: 10.34 MB / 0.7325 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.0002445/0.6282, allocations: 165.8 kB / 0.9044 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.6283, allocations: 35.77 kB / 0.9045 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006499/0.6289, allocations: 281.5 kB / 0.9047 GB, free: 9.848 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.6289, allocations: 4 kB / 0.9047 GB, free: 9.844 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.6289, allocations: 0 / 0.9047 GB, free: 9.844 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.6289, allocations: 3.938 kB / 0.9047 GB, free: 9.84 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001261/0.6302, allocations: 0.698 MB / 0.9054 GB, free: 9.086 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.6302, allocations: 4 kB / 0.9054 GB, free: 9.082 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002384/0.6304, allocations: 43.91 kB / 0.9055 GB, free: 9.039 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.824e-06/0.6304, allocations: 7.938 kB / 0.9055 GB, free: 9.031 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.3e-05/0.6305, allocations: 12 kB / 0.9055 GB, free: 9.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.6305, allocations: 4 kB / 0.9055 GB, free: 9.016 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.6305, allocations: 0 / 0.9055 GB, free: 9.016 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008792/0.6314, allocations: 0.5014 MB / 0.906 GB, free: 8.484 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/0.6315, allocations: 63.66 kB / 0.906 GB, free: 8.422 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.38e-05/0.6315, allocations: 8 kB / 0.906 GB, free: 8.414 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000258/0.6318, allocations: 15.98 kB / 0.9061 GB, free: 8.398 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.033e-05/0.6318, allocations: 19.97 kB / 0.9061 GB, free: 8.379 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.6319, allocations: 8 kB / 0.9061 GB, free: 8.371 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002525/0.6321, allocations: 227.2 kB / 0.9063 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6321, allocations: 0 / 0.9063 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004586/0.6326, allocations: 131.6 kB / 0.9064 GB, free: 8.02 MB / 0.7325 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.0003026/0.6329, allocations: 183.2 kB / 0.9066 GB, free: 7.828 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005189/0.6334, allocations: 207.7 kB / 0.9068 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6334, allocations: 0 / 0.9068 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002385/0.6336, allocations: 107.8 kB / 0.9069 GB, free: 7.52 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008997/0.6345, allocations: 157.7 kB / 0.9071 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.6361, allocations: 0.8917 MB / 0.9079 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.6363, allocations: 223.4 kB / 0.9081 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002363/0.6366, allocations: 74.92 kB / 0.9082 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.936e-05/0.6367, allocations: 28.5 kB / 0.9082 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of SimCode: time 3.51e-07/0.6367, allocations: 0 / 0.9082 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of Templates: time 0.3583/0.9949, allocations: 6.613 MB / 0.9147 GB, free: 15.69 MB / 0.7481 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.768897788017057] Failed to read output from testmodel.py, exit status != 0: 1.0961954349186271 1.113917993 0.49423018999999996 Calling exit ...