Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice") translateModel(BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007965/0.0007966, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004654/0.004654, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.134/1.134, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8321/0.8321, allocations: 143.2 MB / 434.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002552/0.0002552, allocations: 8 kB / 0.5164 GB, free: 11.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.123, allocations: 83.4 MB / 0.5978 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice): time 0.3452/0.4682, allocations: 169.4 MB / 0.7632 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003091/0.4714, allocations: 2.311 MB / 0.7655 GB, free: 412 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003033/0.4717, allocations: 7.938 kB / 0.7655 GB, free: 404 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000505/0.4722, allocations: 186.8 kB / 0.7657 GB, free: 216 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001568/0.4738, allocations: 0.8793 MB / 0.7665 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001484/0.4753, allocations: 0.7589 MB / 0.7673 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001105/0.4764, allocations: 1.337 MB / 0.7686 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003439/0.4768, allocations: 286.8 kB / 0.7688 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004863/0.4773, allocations: 414.3 kB / 0.7692 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003133/0.4776, allocations: 314.6 kB / 0.7695 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.846e-05/0.4776, allocations: 16 kB / 0.7695 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001352/0.479, allocations: 1.169 MB / 0.7707 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.4791, allocations: 143.5 kB / 0.7708 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001861/0.4793, allocations: 240.5 kB / 0.7711 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009302/0.4803, allocations: 0.9619 MB / 0.772 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.4803, allocations: 4 kB / 0.772 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.136e-06/0.4803, allocations: 0 / 0.772 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.4803, allocations: 3.938 kB / 0.772 GB, free: 9.699 MB / 0.5919 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.0009439/0.4812, allocations: 0.7281 MB / 0.7727 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/0.4813, allocations: 12.03 kB / 0.7727 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/0.4824, allocations: 179.1 kB / 0.7729 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004076/0.4828, allocations: 369.5 kB / 0.7732 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.156e-05/0.4828, allocations: 29.33 kB / 0.7733 GB, free: 8.312 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.408e-05/0.4829, allocations: 31.94 kB / 0.7733 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005288/0.4834, allocations: 377.1 kB / 0.7737 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.4834, allocations: 0 / 0.7737 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.985e-05/0.4835, allocations: 16 kB / 0.7737 GB, free: 7.871 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.4835, allocations: 12 kB / 0.7737 GB, free: 7.859 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004733/0.484, allocations: 273.9 kB / 0.774 GB, free: 7.59 MB / 0.5919 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.001494/0.4855, allocations: 1.676 MB / 0.7756 GB, free: 5.781 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003522/0.4858, allocations: 219.2 kB / 0.7758 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002041/0.486, allocations: 121.5 kB / 0.7759 GB, free: 5.441 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008763/0.4869, allocations: 0.8873 MB / 0.7768 GB, free: 4.371 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.487, allocations: 30.56 kB / 0.7768 GB, free: 4.332 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=23): time 1.272e-06/0.487, allocations: 0 / 0.7768 GB, free: 4.332 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.0007727/0.4877, allocations: 373.5 kB / 0.7772 GB, free: 3.961 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/0.4878, allocations: 55.34 kB / 0.7772 GB, free: 3.895 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003853/0.4882, allocations: 425.9 kB / 0.7776 GB, free: 3.473 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.4882, allocations: 29.7 kB / 0.7777 GB, free: 3.438 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.4883, allocations: 216.2 kB / 0.7779 GB, free: 3.223 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.261e-05/0.4884, allocations: 86.73 kB / 0.7779 GB, free: 3.137 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.771e-05/0.4884, allocations: 29.7 kB / 0.778 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.4886, allocations: 350.7 kB / 0.7783 GB, free: 2.75 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001809/0.4887, allocations: 83.95 kB / 0.7784 GB, free: 2.668 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001944/0.4889, allocations: 127.4 kB / 0.7785 GB, free: 2.531 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003656/0.4893, allocations: 222.7 kB / 0.7787 GB, free: 2.305 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4893, allocations: 0 / 0.7787 GB, free: 2.305 MB / 0.5919 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004856/0.4898, allocations: 285 kB / 0.779 GB, free: 2.02 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.4898, allocations: 9.25 kB / 0.779 GB, free: 2.012 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.4898, allocations: 3.984 kB / 0.779 GB, free: 2.008 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.4899, allocations: 8.234 kB / 0.779 GB, free: 2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002056/0.4901, allocations: 56.42 kB / 0.7791 GB, free: 1.945 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.4901, allocations: 4 kB / 0.7791 GB, free: 1.941 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000214/0.4903, allocations: 51.58 kB / 0.7791 GB, free: 1.891 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.063e-05/0.4903, allocations: 8 kB / 0.7791 GB, free: 1.883 MB / 0.5919 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.0001411/0.4905, allocations: 169.7 kB / 0.7793 GB, free: 1.707 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.836e-05/0.4906, allocations: 43.44 kB / 0.7793 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005214/0.4911, allocations: 296.4 kB / 0.7796 GB, free: 1.367 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.4911, allocations: 4 kB / 0.7796 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.4911, allocations: 4 kB / 0.7796 GB, free: 1.359 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.4911, allocations: 7.922 kB / 0.7796 GB, free: 1.352 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/0.4921, allocations: 0.8114 MB / 0.7804 GB, free: 476 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.4922, allocations: 4.688 kB / 0.7804 GB, free: 472 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001992/0.4924, allocations: 47.98 kB / 0.7805 GB, free: 424 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.4924, allocations: 0 / 0.7805 GB, free: 424 kB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.4924, allocations: 4.188 kB / 0.7805 GB, free: 420 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.4924, allocations: 15.92 kB / 0.7805 GB, free: 404 kB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.4924, allocations: 3.562 kB / 0.7805 GB, free: 404 kB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006887/0.4931, allocations: 0.5175 MB / 0.781 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/0.4933, allocations: 148.5 kB / 0.7811 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.792e-05/0.4933, allocations: 12 kB / 0.7812 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002634/0.4936, allocations: 27.91 kB / 0.7812 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/0.4936, allocations: 19.98 kB / 0.7812 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.4937, allocations: 4 kB / 0.7812 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002718/0.4939, allocations: 307.1 kB / 0.7815 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4939, allocations: 0 / 0.7815 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003584/0.4943, allocations: 119.8 kB / 0.7816 GB, free: 15.2 MB / 0.6075 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.003608/0.4979, allocations: 192.9 kB / 0.7818 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005121/0.4984, allocations: 218.3 kB / 0.782 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4985, allocations: 4.062 kB / 0.782 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002044/0.4987, allocations: 115.8 kB / 0.7821 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.4998, allocations: 217.6 kB / 0.7823 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.501, allocations: 1.112 MB / 0.7834 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/0.5013, allocations: 0.8236 MB / 0.7842 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002485/0.5016, allocations: 87.88 kB / 0.7843 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.325e-05/0.5017, allocations: 35.44 kB / 0.7843 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.5017, allocations: 0 / 0.7843 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of Templates: time 0.01106/0.5128, allocations: 7.668 MB / 0.7918 GB, free: 4.848 MB / 0.6075 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.sim & ./BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.pipe 2>&1)