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.000656/0.000656, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008575/0.001513, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007116/0.0007116, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008684/0.00158, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.004/1.004, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1217/1.126, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] 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.001434/0.001434, allocations: 240 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001476/0.00291, allocations: 475.5 kB / 244.7 MB, free: 14.17 MB / 250.7 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 0.7576/0.7576, allocations: 138.7 MB / 384.1 MB, free: 472 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08048/0.8381, allocations: 42.4 MB / 426.5 MB, free: 5.934 MB / 410.7 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.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.543e-06/1.543e-06, allocations: 0 / 427.8 MB, free: 4.633 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.474e-05/2.628e-05, allocations: 2.312 kB / 427.8 MB, free: 4.629 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.Orifice): time 0.372/0.372, allocations: 147.3 MB / 0.5616 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.002815/0.3749, allocations: 1.777 MB / 0.5633 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003514/0.3752, allocations: 23.81 kB / 0.5633 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0003944/0.3756, allocations: 154.8 kB / 0.5635 GB, free: 11.36 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.0009511/0.3766, allocations: 0.5126 MB / 0.564 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.001057/0.3776, allocations: 0.5128 MB / 0.5645 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.00111/0.3787, allocations: 0.9608 MB / 0.5654 GB, free: 9.375 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004391/0.3792, allocations: 278.1 kB / 0.5657 GB, free: 9.109 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007383/0.3799, allocations: 0.5438 MB / 0.5662 GB, free: 8.574 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003173/0.3802, allocations: 265.1 kB / 0.5664 GB, free: 8.316 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 4.8e-05/0.3803, allocations: 32 kB / 0.5665 GB, free: 8.285 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006304/0.3809, allocations: 355.1 kB / 0.5668 GB, free: 7.938 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.381, allocations: 131.6 kB / 0.5669 GB, free: 7.809 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001435/0.3812, allocations: 131.8 kB / 0.5671 GB, free: 7.68 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0007663/0.3819, allocations: 0.4983 MB / 0.5676 GB, free: 7.18 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.299e-05/0.382, allocations: 0 / 0.5676 GB, free: 7.18 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.082e-06/0.382, allocations: 0 / 0.5676 GB, free: 7.18 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.661e-05/0.382, allocations: 0 / 0.5676 GB, free: 7.18 MB / 0.5417 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.001171/0.3831, allocations: 0.7845 MB / 0.5683 GB, free: 6.371 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.3832, allocations: 12.03 kB / 0.5683 GB, free: 6.359 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009337/0.3841, allocations: 309.3 kB / 0.5686 GB, free: 6.039 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005498/0.3847, allocations: 299.8 kB / 0.5689 GB, free: 5.727 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.719e-05/0.3847, allocations: 32.59 kB / 0.5689 GB, free: 5.695 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.582e-05/0.3847, allocations: 28 kB / 0.569 GB, free: 5.668 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003722/0.3851, allocations: 327.9 kB / 0.5693 GB, free: 5.309 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.3851, allocations: 7.922 kB / 0.5693 GB, free: 5.301 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.232e-05/0.3851, allocations: 12 kB / 0.5693 GB, free: 5.289 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.483e-05/0.3852, allocations: 12 kB / 0.5693 GB, free: 5.277 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001446/0.3853, allocations: 104.5 kB / 0.5694 GB, free: 5.176 MB / 0.5417 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.001184/0.3865, allocations: 1.042 MB / 0.5704 GB, free: 4.094 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.3867, allocations: 145.2 kB / 0.5706 GB, free: 3.941 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.102e-05/0.3867, allocations: 46.42 kB / 0.5706 GB, free: 3.895 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003132/0.3871, allocations: 106 kB / 0.5707 GB, free: 3.793 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.3871, allocations: 30.56 kB / 0.5707 GB, free: 3.754 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=23): time 2.174e-06/0.3871, allocations: 4 kB / 0.5707 GB, free: 3.75 MB / 0.5417 GB Notification: Performance of matching and sorting (n=23): time 0.0003658/0.3874, allocations: 158.3 kB / 0.5709 GB, free: 3.59 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.3875, allocations: 59.34 kB / 0.571 GB, free: 3.52 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.3877, allocations: 311.3 kB / 0.5713 GB, free: 3.207 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.3877, allocations: 29.7 kB / 0.5713 GB, free: 3.172 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.3878, allocations: 201 kB / 0.5715 GB, free: 2.969 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.271e-05/0.3879, allocations: 83.27 kB / 0.5715 GB, free: 2.887 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.614e-05/0.388, allocations: 61.89 kB / 0.5716 GB, free: 2.82 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.3881, allocations: 342.8 kB / 0.5719 GB, free: 2.477 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.82e-05/0.3881, allocations: 39.31 kB / 0.572 GB, free: 2.438 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.3883, allocations: 157 kB / 0.5721 GB, free: 2.242 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.3884, allocations: 156.9 kB / 0.5723 GB, free: 2.055 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.3885, allocations: 0 / 0.5723 GB, free: 2.055 MB / 0.5417 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002381/0.3887, allocations: 180.3 kB / 0.5724 GB, free: 1.871 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.3887, allocations: 4 kB / 0.5724 GB, free: 1.867 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.3887, allocations: 4 kB / 0.5725 GB, free: 1.863 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.3887, allocations: 11.92 kB / 0.5725 GB, free: 1.852 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.3889, allocations: 59.92 kB / 0.5725 GB, free: 1.793 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.3889, allocations: 7.984 kB / 0.5725 GB, free: 1.785 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.389, allocations: 27.78 kB / 0.5726 GB, free: 1.758 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.389, allocations: 12.22 kB / 0.5726 GB, free: 1.746 MB / 0.5417 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 0.0001073/0.3892, allocations: 136.5 kB / 0.5727 GB, free: 1.602 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.401e-05/0.3892, allocations: 27.97 kB / 0.5727 GB, free: 1.574 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002079/0.3894, allocations: 156.1 kB / 0.5729 GB, free: 1.414 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.676e-06/0.3894, allocations: 4 kB / 0.5729 GB, free: 1.41 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.3894, allocations: 0 / 0.5729 GB, free: 1.41 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.3894, allocations: 7.922 kB / 0.5729 GB, free: 1.402 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005398/0.39, allocations: 0.5471 MB / 0.5734 GB, free: 0.8086 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.39, allocations: 4 kB / 0.5734 GB, free: 0.8047 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/0.3901, allocations: 47.97 kB / 0.5735 GB, free: 0.7578 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.7e-05/0.3902, allocations: 47.62 kB / 0.5735 GB, free: 0.7109 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.3902, allocations: 4 kB / 0.5735 GB, free: 0.707 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.3902, allocations: 8 kB / 0.5735 GB, free: 0.6992 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.3902, allocations: 3.938 kB / 0.5735 GB, free: 0.6953 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.3902, allocations: 5.938 kB / 0.5735 GB, free: 0.6914 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002939/0.3905, allocations: 357.1 kB / 0.5739 GB, free: 308 kB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.178e-05/0.3905, allocations: 11.98 kB / 0.5739 GB, free: 296 kB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.821e-05/0.3906, allocations: 12 kB / 0.5739 GB, free: 284 kB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.172e-05/0.3906, allocations: 15.97 kB / 0.5739 GB, free: 268 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.3907, allocations: 8 kB / 0.5739 GB, free: 260 kB / 0.5417 GB Notification: Performance of sorting global known variables: time 9.334e-05/0.3908, allocations: 124.7 kB / 0.574 GB, free: 136 kB / 0.5417 GB Notification: Performance of sort global known variables: time 6e-08/0.3908, allocations: 0 / 0.574 GB, free: 136 kB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000328/0.3911, allocations: 127.7 kB / 0.5742 GB, free: 8 kB / 0.5417 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.000264/0.3913, allocations: 140.2 kB / 0.5743 GB, free: 15.86 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001923/0.3915, allocations: 123.4 kB / 0.5744 GB, free: 15.74 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.107e-05/0.3915, allocations: 7.984 kB / 0.5744 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 6.173e-05/0.3916, allocations: 56.7 kB / 0.5745 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004839/0.3921, allocations: 200.2 kB / 0.5747 GB, free: 15.5 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003603/0.3957, allocations: 0.7508 MB / 0.5754 GB, free: 14.7 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.093e-05/0.3958, allocations: 117.1 kB / 0.5755 GB, free: 14.57 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001847/0.396, allocations: 58.02 kB / 0.5756 GB, free: 14.52 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002436/0.3962, allocations: 161.2 kB / 0.5757 GB, free: 14.36 MB / 0.5573 GB Notification: Performance of SimCode: time 1.062e-06/0.3962, allocations: 0 / 0.5757 GB, free: 14.36 MB / 0.5573 GB Notification: Performance of Templates: time 0.009383/0.4056, allocations: 7.17 MB / 0.5827 GB, free: 7.539 MB / 0.5573 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.9037497118115425]