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.001239/0.001239, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 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.001375/0.001375, allocations: 165 kB / 23.02 MB, free: 1.547 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 0.9105/0.9105, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.001552/0.001552, allocations: 232.7 kB / 260.2 MB, free: 12.82 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.7007/0.7007, allocations: 138.4 MB / 455.2 MB, free: 1.543 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: 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: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.5551 GB, free: 0.5508 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.196e-05/2.372e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5469 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.Orifice): time 0.3176/0.3176, allocations: 147.4 MB / 0.6991 GB, free: 9.477 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001924/0.3195, allocations: 1.741 MB / 0.7008 GB, free: 7.742 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002348/0.3198, allocations: 15.88 kB / 0.7008 GB, free: 7.727 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0004574/0.3202, allocations: 142.9 kB / 0.7009 GB, free: 7.586 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0007486/0.321, allocations: 0.5282 MB / 0.7014 GB, free: 7.055 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007669/0.3217, allocations: 0.5181 MB / 0.702 GB, free: 6.535 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0007806/0.3225, allocations: 0.9738 MB / 0.7029 GB, free: 5.555 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003639/0.3229, allocations: 276.5 kB / 0.7032 GB, free: 5.281 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004384/0.3233, allocations: 478.8 kB / 0.7036 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002616/0.3236, allocations: 275.2 kB / 0.7039 GB, free: 4.543 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 4.314e-05/0.3236, allocations: 36 kB / 0.7039 GB, free: 4.508 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004886/0.3241, allocations: 378.9 kB / 0.7043 GB, free: 4.137 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.3242, allocations: 159.5 kB / 0.7044 GB, free: 3.98 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.3243, allocations: 163.6 kB / 0.7046 GB, free: 3.82 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0006128/0.325, allocations: 0.5646 MB / 0.7051 GB, free: 3.254 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.325, allocations: 0 / 0.7051 GB, free: 3.254 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.513e-06/0.325, allocations: 0 / 0.7051 GB, free: 3.254 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.325, allocations: 0 / 0.7051 GB, free: 3.254 MB / 0.5105 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.0008737/0.3258, allocations: 0.8073 MB / 0.7059 GB, free: 2.41 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.3259, allocations: 8.75 kB / 0.7059 GB, free: 2.402 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007084/0.3266, allocations: 244 kB / 0.7062 GB, free: 2.164 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003725/0.327, allocations: 335.8 kB / 0.7065 GB, free: 1.812 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.327, allocations: 24.59 kB / 0.7065 GB, free: 1.789 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.451e-05/0.327, allocations: 39.98 kB / 0.7066 GB, free: 1.75 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003531/0.3274, allocations: 356.9 kB / 0.7069 GB, free: 1.348 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.3274, allocations: 0 / 0.7069 GB, free: 1.348 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.219e-05/0.3274, allocations: 12 kB / 0.7069 GB, free: 1.336 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.259e-05/0.3274, allocations: 11.98 kB / 0.7069 GB, free: 1.324 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001701/0.3276, allocations: 130.8 kB / 0.707 GB, free: 1.199 MB / 0.5105 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.001072/0.3287, allocations: 1.542 MB / 0.7085 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002039/0.3289, allocations: 128.8 kB / 0.7087 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.411e-05/0.329, allocations: 55.66 kB / 0.7087 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000316/0.3293, allocations: 95.91 kB / 0.7088 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.3293, allocations: 41.39 kB / 0.7089 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=23): time 2.004e-06/0.3293, allocations: 4 kB / 0.7089 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of matching and sorting (n=23): time 0.0004148/0.3297, allocations: 232.5 kB / 0.7091 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.518e-05/0.3297, allocations: 55.41 kB / 0.7091 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002305/0.33, allocations: 354.8 kB / 0.7095 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.33, allocations: 33.7 kB / 0.7095 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.3301, allocations: 263.2 kB / 0.7098 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.861e-05/0.3302, allocations: 87.27 kB / 0.7098 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.228e-05/0.3302, allocations: 59.55 kB / 0.7099 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.3304, allocations: 0.5157 MB / 0.7104 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003367/0.3307, allocations: 36.44 kB / 0.7104 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.853e-05/0.3308, allocations: 132.7 kB / 0.7106 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.331, allocations: 123.6 kB / 0.7107 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.331, allocations: 0 / 0.7107 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002239/0.3312, allocations: 197.8 kB / 0.7109 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.3312, allocations: 4 kB / 0.7109 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.3312, allocations: 4.562 kB / 0.7109 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.3312, allocations: 4 kB / 0.7109 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.3313, allocations: 48.05 kB / 0.7109 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.3314, allocations: 0 / 0.7109 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.42e-05/0.3314, allocations: 23.88 kB / 0.7109 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.3315, allocations: 15.44 kB / 0.711 GB, free: 12.99 MB / 0.5261 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 9.023e-05/0.3315, allocations: 164.5 kB / 0.7111 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.647e-05/0.3316, allocations: 47.81 kB / 0.7112 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002419/0.3318, allocations: 197.8 kB / 0.7114 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.3318, allocations: 4 kB / 0.7114 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.3318, allocations: 0 / 0.7114 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3318, allocations: 0 / 0.7114 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006103/0.3325, allocations: 0.6658 MB / 0.712 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3325, allocations: 0 / 0.712 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.3326, allocations: 43.97 kB / 0.712 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3326, allocations: 0 / 0.712 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.3326, allocations: 8 kB / 0.7121 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.3326, allocations: 7.938 kB / 0.7121 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3326, allocations: 288 / 0.7121 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003338/0.3329, allocations: 433.8 kB / 0.7125 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.415e-05/0.333, allocations: 59.67 kB / 0.7125 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.678e-05/0.333, allocations: 4 kB / 0.7125 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.3331, allocations: 8 kB / 0.7125 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.016e-05/0.3332, allocations: 23.91 kB / 0.7126 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.3332, allocations: 15.42 kB / 0.7126 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001328/0.3333, allocations: 243.1 kB / 0.7128 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.3333, allocations: 0 / 0.7128 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002733/0.3336, allocations: 127.7 kB / 0.7129 GB, free: 10.85 MB / 0.5261 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.0002055/0.3338, allocations: 155 kB / 0.7131 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002021/0.334, allocations: 131.2 kB / 0.7132 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.334, allocations: 0 / 0.7132 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.737e-05/0.3341, allocations: 72.47 kB / 0.7133 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005223/0.3346, allocations: 164.4 kB / 0.7134 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.3359, allocations: 0.8314 MB / 0.7142 GB, free: 9.457 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.153e-05/0.336, allocations: 118.7 kB / 0.7144 GB, free: 9.324 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001405/0.3361, allocations: 65.66 kB / 0.7144 GB, free: 9.266 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.33e-05/0.3362, allocations: 32.5 kB / 0.7145 GB, free: 9.234 MB / 0.5261 GB Notification: Performance of SimCode: time 6.61e-07/0.3362, allocations: 0 / 0.7145 GB, free: 9.234 MB / 0.5261 GB Notification: Performance of Templates: time 0.008983/0.3451, allocations: 6.265 MB / 0.7206 GB, free: 3.195 MB / 0.5261 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.884949536062777]