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.000972/0.000972, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001063/0.001063, allocations: 181 kB / 23.36 MB, free: 1.133 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.9297/0.9297, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.001546/0.001546, allocations: 249.3 kB / 260.5 MB, free: 12.7 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.6547/0.6547, allocations: 138.4 MB / 402.2 MB, free: 0.5469 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.803e-06/1.803e-06, allocations: 0 / 462.3 MB, free: 0.918 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.284e-05/1.465e-05, allocations: 4.484 kB / 462.3 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.Orifice): time 0.1251/0.1251, allocations: 146.8 MB / 0.5948 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.002306/0.1274, allocations: 1.77 MB / 0.5966 GB, free: 13.89 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002155/0.1276, allocations: 19.81 kB / 0.5966 GB, free: 13.87 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0003996/0.128, allocations: 135 kB / 0.5967 GB, free: 13.74 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001064/0.1291, allocations: 0.532 MB / 0.5972 GB, free: 13.2 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008052/0.1299, allocations: 0.5229 MB / 0.5977 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0008053/0.1307, allocations: 0.9621 MB / 0.5987 GB, free: 11.71 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003376/0.131, allocations: 291.9 kB / 0.5989 GB, free: 11.43 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004982/0.1315, allocations: 0.4987 MB / 0.5994 GB, free: 10.93 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002463/0.1317, allocations: 259.2 kB / 0.5997 GB, free: 10.68 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.977e-05/0.1318, allocations: 35.94 kB / 0.5997 GB, free: 10.64 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003884/0.1322, allocations: 335.2 kB / 0.6 GB, free: 10.32 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.1323, allocations: 167.5 kB / 0.6002 GB, free: 10.15 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.1324, allocations: 159.6 kB / 0.6003 GB, free: 9.996 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0005386/0.1329, allocations: 0.5567 MB / 0.6009 GB, free: 9.438 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.1329, allocations: 0 / 0.6009 GB, free: 9.438 MB / 0.5573 GB Notification: Performance of FrontEnd: time 9.42e-07/0.1329, allocations: 0 / 0.6009 GB, free: 9.438 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.133, allocations: 0 / 0.6009 GB, free: 9.438 MB / 0.5573 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.0006673/0.1336, allocations: 0.6696 MB / 0.6015 GB, free: 8.742 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 2.916e-05/0.1336, allocations: 8.75 kB / 0.6016 GB, free: 8.734 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006138/0.1343, allocations: 234.3 kB / 0.6018 GB, free: 8.508 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000308/0.1346, allocations: 307.4 kB / 0.6021 GB, free: 8.188 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.1346, allocations: 24.66 kB / 0.6021 GB, free: 8.164 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.726e-05/0.1346, allocations: 31.98 kB / 0.6021 GB, free: 8.133 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002808/0.1349, allocations: 331.9 kB / 0.6024 GB, free: 7.77 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.1349, allocations: 0 / 0.6024 GB, free: 7.77 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.885e-05/0.1349, allocations: 15.94 kB / 0.6025 GB, free: 7.754 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.135, allocations: 8 kB / 0.6025 GB, free: 7.746 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/0.1351, allocations: 100.9 kB / 0.6026 GB, free: 7.648 MB / 0.5573 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.0008103/0.1359, allocations: 1.041 MB / 0.6036 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.136, allocations: 141.9 kB / 0.6037 GB, free: 6.418 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.567e-05/0.1361, allocations: 48.36 kB / 0.6038 GB, free: 6.367 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005035/0.1366, allocations: 107.9 kB / 0.6039 GB, free: 6.262 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.752e-05/0.1366, allocations: 30.56 kB / 0.6039 GB, free: 6.223 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=23): time 1.232e-06/0.1366, allocations: 0 / 0.6039 GB, free: 6.223 MB / 0.5573 GB Notification: Performance of matching and sorting (n=23): time 0.0002721/0.1369, allocations: 167.8 kB / 0.6041 GB, free: 6.059 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.404e-05/0.1369, allocations: 55.41 kB / 0.6041 GB, free: 5.992 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.137, allocations: 311.3 kB / 0.6044 GB, free: 5.676 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.1371, allocations: 29.7 kB / 0.6044 GB, free: 5.641 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 8.362e-05/0.1371, allocations: 200.9 kB / 0.6046 GB, free: 5.438 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.953e-05/0.1372, allocations: 87.27 kB / 0.6047 GB, free: 5.352 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.886e-05/0.1372, allocations: 53.95 kB / 0.6048 GB, free: 5.293 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 7.685e-05/0.1373, allocations: 350.7 kB / 0.6051 GB, free: 4.941 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.706e-05/0.1374, allocations: 23.39 kB / 0.6051 GB, free: 4.918 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.972e-05/0.1374, allocations: 166.2 kB / 0.6053 GB, free: 4.715 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.1376, allocations: 156.9 kB / 0.6054 GB, free: 4.527 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1376, allocations: 0 / 0.6054 GB, free: 4.527 MB / 0.5573 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001742/0.1378, allocations: 180.5 kB / 0.6056 GB, free: 4.344 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.1378, allocations: 4 kB / 0.6056 GB, free: 4.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.1378, allocations: 4.5 kB / 0.6056 GB, free: 4.336 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.1378, allocations: 4 kB / 0.6056 GB, free: 4.332 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.1379, allocations: 55.92 kB / 0.6057 GB, free: 4.277 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.1379, allocations: 15.91 kB / 0.6057 GB, free: 4.262 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.179e-05/0.138, allocations: 29.22 kB / 0.6057 GB, free: 4.234 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.138, allocations: 12 kB / 0.6057 GB, free: 4.223 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (34): * Single equations (assignments): 34 * 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 8.3e-05/0.1381, allocations: 132.8 kB / 0.6058 GB, free: 4.082 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.524e-05/0.1381, allocations: 31.91 kB / 0.6059 GB, free: 4.051 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001721/0.1383, allocations: 159.1 kB / 0.606 GB, free: 3.891 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.1383, allocations: 4 kB / 0.606 GB, free: 3.887 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.1383, allocations: 3.938 kB / 0.606 GB, free: 3.883 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1383, allocations: 3.984 kB / 0.606 GB, free: 3.879 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004611/0.1388, allocations: 0.5355 MB / 0.6066 GB, free: 3.293 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1388, allocations: 8.031 kB / 0.6066 GB, free: 3.285 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.1389, allocations: 41.05 kB / 0.6066 GB, free: 3.246 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.1389, allocations: 3.938 kB / 0.6066 GB, free: 3.242 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.1389, allocations: 12.44 kB / 0.6066 GB, free: 3.23 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.1389, allocations: 4 kB / 0.6066 GB, free: 3.227 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1389, allocations: 0 / 0.6066 GB, free: 3.227 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002361/0.1391, allocations: 362.2 kB / 0.607 GB, free: 2.832 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.17e-05/0.1392, allocations: 51.62 kB / 0.607 GB, free: 2.781 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/0.1392, allocations: 8.859 kB / 0.607 GB, free: 2.773 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.597e-05/0.1393, allocations: 12 kB / 0.607 GB, free: 2.762 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.1394, allocations: 19.97 kB / 0.6071 GB, free: 2.742 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.1394, allocations: 4 kB / 0.6071 GB, free: 2.738 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 8.106e-05/0.1395, allocations: 132.7 kB / 0.6072 GB, free: 2.613 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.1395, allocations: 0 / 0.6072 GB, free: 2.613 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002567/0.1397, allocations: 119.8 kB / 0.6073 GB, free: 2.496 MB / 0.5573 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.0001724/0.1399, allocations: 136.8 kB / 0.6074 GB, free: 2.352 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001532/0.14, allocations: 117.5 kB / 0.6075 GB, free: 2.234 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.14, allocations: 4 kB / 0.6075 GB, free: 2.23 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 5.654e-05/0.1401, allocations: 58.12 kB / 0.6076 GB, free: 2.172 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004325/0.1405, allocations: 168.5 kB / 0.6078 GB, free: 2.023 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.1416, allocations: 0.7724 MB / 0.6085 GB, free: 1.207 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.542e-05/0.1416, allocations: 117.3 kB / 0.6086 GB, free: 1.07 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001397/0.1418, allocations: 53.58 kB / 0.6087 GB, free: 1.023 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002334/0.142, allocations: 161.2 kB / 0.6088 GB, free: 0.8672 MB / 0.5573 GB Notification: Performance of SimCode: time 6.81e-07/0.142, allocations: 0 / 0.6088 GB, free: 0.8672 MB / 0.5573 GB Notification: Performance of Templates: time 0.008495/0.1505, allocations: 6.856 MB / 0.6155 GB, free: 10.28 MB / 0.573 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.469577567651868]