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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001699/0.001699, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002586/0.002586, allocations: 191.7 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 225.6 MB / 251 MB, free: 12.99 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00261/0.00261, allocations: 291.8 kB / 306.6 MB, free: 8.297 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.261/1.261, allocations: 180.9 MB / 0.53 GB, free: 14.54 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.004054/0.004054, allocations: 104.4 kB / 0.7308 GB, free: 39.12 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2154, allocations: 94.2 MB / 0.8228 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.Orifice): time 0.2294/0.4448, allocations: 174.6 MB / 0.9934 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004715/0.4495, allocations: 2.317 MB / 0.9956 GB, free: 168 kB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006821/0.4502, allocations: 15.88 kB / 0.9956 GB, free: 152 kB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0009847/0.4512, allocations: 242.3 kB / 0.9959 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.002803/0.454, allocations: 0.9801 MB / 0.9968 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.00258/0.4566, allocations: 0.8617 MB / 0.9977 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001705/0.4583, allocations: 0.9779 MB / 0.9986 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006855/0.459, allocations: 275.9 kB / 0.9989 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001235/0.4602, allocations: 462.4 kB / 0.9993 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007955/0.461, allocations: 342.5 kB / 0.9996 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001312/0.4611, allocations: 32 kB / 0.9997 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002755/0.4639, allocations: 1.075 MB / 1.001 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.000328/0.4642, allocations: 147.5 kB / 1.001 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0004739/0.4647, allocations: 238.8 kB / 1.001 GB, free: 10.53 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002331/0.467, allocations: 0.911 MB / 1.002 GB, free: 9.617 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.467, allocations: 0 / 1.002 GB, free: 9.617 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.994e-06/0.467, allocations: 4 kB / 1.002 GB, free: 9.613 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 3.189e-05/0.4671, allocations: 3.938 kB / 1.002 GB, free: 9.609 MB / 0.7481 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.001964/0.469, allocations: 0.7377 MB / 1.003 GB, free: 8.84 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.4691, allocations: 12.03 kB / 1.003 GB, free: 8.828 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001448/0.4705, allocations: 183.4 kB / 1.003 GB, free: 8.648 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000843/0.4714, allocations: 331.9 kB / 1.003 GB, free: 8.297 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.352e-05/0.4714, allocations: 20.66 kB / 1.003 GB, free: 8.277 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.06e-05/0.4715, allocations: 31.94 kB / 1.003 GB, free: 8.246 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007886/0.4723, allocations: 373 kB / 1.004 GB, free: 7.855 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.4723, allocations: 3.938 kB / 1.004 GB, free: 7.852 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.621e-05/0.4723, allocations: 12 kB / 1.004 GB, free: 7.84 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.17e-05/0.4724, allocations: 11.94 kB / 1.004 GB, free: 7.828 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006067/0.473, allocations: 261.8 kB / 1.004 GB, free: 7.57 MB / 0.7481 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.00244/0.4754, allocations: 1.633 MB / 1.005 GB, free: 5.809 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004624/0.4759, allocations: 205.1 kB / 1.006 GB, free: 5.602 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002411/0.4761, allocations: 108.7 kB / 1.006 GB, free: 5.492 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007234/0.4768, allocations: 131.9 kB / 1.006 GB, free: 5.363 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.132e-05/0.4769, allocations: 34.5 kB / 1.006 GB, free: 5.32 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=23): time 2.284e-06/0.4769, allocations: 0 / 1.006 GB, free: 5.32 MB / 0.7481 GB Notification: Performance of matching and sorting (n=23): time 0.001051/0.4779, allocations: 361.1 kB / 1.006 GB, free: 4.961 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.478, allocations: 55.41 kB / 1.006 GB, free: 4.895 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005699/0.4785, allocations: 421.9 kB / 1.007 GB, free: 4.477 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.731e-05/0.4786, allocations: 29.7 kB / 1.007 GB, free: 4.441 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001923/0.4788, allocations: 212.4 kB / 1.007 GB, free: 4.23 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.833e-05/0.4789, allocations: 87.22 kB / 1.007 GB, free: 4.145 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.792e-05/0.479, allocations: 53.7 kB / 1.007 GB, free: 4.086 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002046/0.4792, allocations: 354.7 kB / 1.007 GB, free: 3.73 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002152/0.4794, allocations: 79.94 kB / 1.008 GB, free: 3.652 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002571/0.4796, allocations: 124.2 kB / 1.008 GB, free: 3.52 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004633/0.4801, allocations: 210.2 kB / 1.008 GB, free: 3.305 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.4801, allocations: 4 kB / 1.008 GB, free: 3.301 MB / 0.7481 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000628/0.4807, allocations: 281.1 kB / 1.008 GB, free: 3.02 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.4807, allocations: 4 kB / 1.008 GB, free: 3.016 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.4808, allocations: 0 / 1.008 GB, free: 3.016 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/0.4808, allocations: 4 kB / 1.008 GB, free: 3.012 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002553/0.481, allocations: 59.94 kB / 1.008 GB, free: 2.953 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.481, allocations: 3.938 kB / 1.008 GB, free: 2.949 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002643/0.4813, allocations: 31.78 kB / 1.008 GB, free: 2.918 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.49e-05/0.4813, allocations: 11.98 kB / 1.008 GB, free: 2.906 MB / 0.7481 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.0002138/0.4816, allocations: 162.4 kB / 1.008 GB, free: 2.738 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.782e-05/0.4817, allocations: 47.72 kB / 1.008 GB, free: 2.691 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006761/0.4823, allocations: 282.7 kB / 1.009 GB, free: 2.406 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.4823, allocations: 4 kB / 1.009 GB, free: 2.402 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.707e-06/0.4823, allocations: 7.875 kB / 1.009 GB, free: 2.395 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.4824, allocations: 4.078 kB / 1.009 GB, free: 2.391 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001477/0.4838, allocations: 0.7879 MB / 1.009 GB, free: 1.535 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.4838, allocations: 0 / 1.009 GB, free: 1.535 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002462/0.4841, allocations: 51.91 kB / 1.01 GB, free: 1.484 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.295e-06/0.4841, allocations: 4.109 kB / 1.01 GB, free: 1.48 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/0.4841, allocations: 11.94 kB / 1.01 GB, free: 1.469 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.4841, allocations: 0 / 1.01 GB, free: 1.469 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4841, allocations: 4 kB / 1.01 GB, free: 1.465 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009173/0.485, allocations: 0.511 MB / 1.01 GB, free: 0.9219 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001879/0.4852, allocations: 71.67 kB / 1.01 GB, free: 0.8516 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.935e-05/0.4853, allocations: 4 kB / 1.01 GB, free: 0.8477 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002788/0.4856, allocations: 11.98 kB / 1.01 GB, free: 0.8359 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.879e-05/0.4856, allocations: 19.97 kB / 1.01 GB, free: 0.8164 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.429e-05/0.4857, allocations: 15.92 kB / 1.01 GB, free: 0.8008 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003787/0.4861, allocations: 307.1 kB / 1.01 GB, free: 0.5 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/0.4861, allocations: 4 kB / 1.01 GB, free: 0.4961 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004954/0.4865, allocations: 115.8 kB / 1.011 GB, free: 392 kB / 0.7481 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.0005488/0.4871, allocations: 192.9 kB / 1.011 GB, free: 200 kB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.4019/0.889, allocations: 204.3 kB / 1.011 GB, free: 191.7 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/0.889, allocations: 0 / 1.011 GB, free: 191.7 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003898/0.8894, allocations: 102.9 kB / 1.011 GB, free: 191.7 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001435/0.8908, allocations: 214.6 kB / 1.011 GB, free: 191.7 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/0.8924, allocations: 0.9219 MB / 1.012 GB, free: 191.3 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/0.8927, allocations: 0.8285 MB / 1.013 GB, free: 190.6 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003234/0.893, allocations: 81.56 kB / 1.013 GB, free: 190.6 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.42e-05/0.8931, allocations: 33.12 kB / 1.013 GB, free: 190.6 MB / 0.7481 GB Notification: Performance of SimCode: time 1.182e-06/0.8931, allocations: 3.156 kB / 1.013 GB, free: 190.6 MB / 0.7481 GB Notification: Performance of Templates: time 0.0181/0.9112, allocations: 8.271 MB / 1.021 GB, free: 188.8 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.2839287258684635] Failed to read output from testmodel.py, exit status != 0: 0.9211115911602974 0.931481791 0.462188624 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f2b7c9497b0>