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.008529/0.008529, allocations: 103.8 kB / 15.73 MB, free: 6.051 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.001691/0.001691, allocations: 191.5 kB / 16.67 MB, free: 5.984 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.45/1.45, allocations: 222.9 MB / 240.4 MB, free: 4.312 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 1.019/1.019, allocations: 143 MB / 433.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 59.91 kB / 0.5955 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4027/0.4042, allocations: 82.03 MB / 0.6756 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice): time 0.1895/0.5937, allocations: 173.9 MB / 0.8454 GB, free: 7.961 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.004555/0.5983, allocations: 2.303 MB / 0.8477 GB, free: 5.652 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008004/0.5992, allocations: 11.94 kB / 0.8477 GB, free: 5.641 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001005/0.6003, allocations: 238.4 kB / 0.8479 GB, free: 5.406 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002566/0.6028, allocations: 0.9723 MB / 0.8489 GB, free: 4.43 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002099/0.605, allocations: 0.8329 MB / 0.8497 GB, free: 3.598 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001238/0.6062, allocations: 0.9702 MB / 0.8506 GB, free: 2.621 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004843/0.6067, allocations: 323 kB / 0.8509 GB, free: 2.301 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007295/0.6074, allocations: 470.2 kB / 0.8514 GB, free: 1.84 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003791/0.6078, allocations: 310.7 kB / 0.8517 GB, free: 1.535 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 5.305e-05/0.6079, allocations: 36 kB / 0.8517 GB, free: 1.5 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0018/0.6097, allocations: 0.9937 MB / 0.8527 GB, free: 0.5039 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001773/0.6099, allocations: 151.5 kB / 0.8528 GB, free: 364 kB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0002416/0.6101, allocations: 242.8 kB / 0.8531 GB, free: 120 kB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001431/0.6116, allocations: 0.929 MB / 0.854 GB, free: 15.19 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.6116, allocations: 0 / 0.854 GB, free: 15.19 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6116, allocations: 0 / 0.854 GB, free: 15.19 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 8.205e-06/0.6116, allocations: 0 / 0.854 GB, free: 15.19 MB / 0.6856 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.00122/0.6128, allocations: 0.8022 MB / 0.8547 GB, free: 14.33 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.6129, allocations: 8.031 kB / 0.8548 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001193/0.6141, allocations: 179.1 kB / 0.8549 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006194/0.6147, allocations: 393.5 kB / 0.8553 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.838e-05/0.6148, allocations: 24.64 kB / 0.8553 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.729e-05/0.6148, allocations: 31.91 kB / 0.8554 GB, free: 13.67 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006424/0.6155, allocations: 377.1 kB / 0.8557 GB, free: 13.28 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.6155, allocations: 0 / 0.8557 GB, free: 13.28 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.192e-05/0.6155, allocations: 12 kB / 0.8557 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.533e-05/0.6156, allocations: 11.94 kB / 0.8557 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005768/0.6161, allocations: 273.9 kB / 0.856 GB, free: 12.99 MB / 0.6856 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.001847/0.618, allocations: 1.672 MB / 0.8576 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003893/0.6184, allocations: 203.1 kB / 0.8578 GB, free: 10.97 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002129/0.6186, allocations: 112.9 kB / 0.8579 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009899/0.6196, allocations: 0.87 MB / 0.8588 GB, free: 9.805 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.6197, allocations: 38.56 kB / 0.8588 GB, free: 9.758 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=23): time 1.783e-06/0.6197, allocations: 3.938 kB / 0.8588 GB, free: 9.754 MB / 0.6856 GB Notification: Performance of matching and sorting (n=23): time 0.0008996/0.6206, allocations: 355.3 kB / 0.8592 GB, free: 9.402 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.6206, allocations: 59.27 kB / 0.8592 GB, free: 9.332 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004425/0.6211, allocations: 429.8 kB / 0.8596 GB, free: 8.898 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.026e-05/0.6211, allocations: 29.7 kB / 0.8597 GB, free: 8.863 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002142/0.6213, allocations: 208.3 kB / 0.8599 GB, free: 8.656 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.6214, allocations: 86.73 kB / 0.8599 GB, free: 8.57 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.6216, allocations: 49.7 kB / 0.86 GB, free: 8.516 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.6217, allocations: 354.7 kB / 0.8603 GB, free: 8.16 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001969/0.6219, allocations: 83.95 kB / 0.8604 GB, free: 8.078 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002115/0.6222, allocations: 120.1 kB / 0.8605 GB, free: 7.949 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000395/0.6226, allocations: 211.3 kB / 0.8607 GB, free: 7.73 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.6226, allocations: 0 / 0.8607 GB, free: 7.73 MB / 0.6856 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005228/0.6231, allocations: 286.9 kB / 0.861 GB, free: 7.445 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.6231, allocations: 8 kB / 0.861 GB, free: 7.438 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.6231, allocations: 0 / 0.861 GB, free: 7.438 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.6232, allocations: 4 kB / 0.861 GB, free: 7.434 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002601/0.6234, allocations: 43.97 kB / 0.861 GB, free: 7.391 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.6235, allocations: 11.88 kB / 0.8611 GB, free: 7.379 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002186/0.6237, allocations: 35.7 kB / 0.8611 GB, free: 7.344 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.667e-05/0.6237, allocations: 8.094 kB / 0.8611 GB, free: 7.336 MB / 0.6856 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.0001701/0.6239, allocations: 157.8 kB / 0.8613 GB, free: 7.172 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.033e-05/0.624, allocations: 43.52 kB / 0.8613 GB, free: 7.129 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000566/0.6246, allocations: 285.9 kB / 0.8616 GB, free: 6.844 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.6246, allocations: 0 / 0.8616 GB, free: 6.844 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.6246, allocations: 7.938 kB / 0.8616 GB, free: 6.836 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.6246, allocations: 4 kB / 0.8616 GB, free: 6.832 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/0.6258, allocations: 0.8207 MB / 0.8624 GB, free: 5.938 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.6258, allocations: 4 kB / 0.8624 GB, free: 5.934 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002207/0.6261, allocations: 39.92 kB / 0.8624 GB, free: 5.895 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.6261, allocations: 4 kB / 0.8624 GB, free: 5.891 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.153e-05/0.6261, allocations: 8 kB / 0.8624 GB, free: 5.883 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.223e-06/0.6261, allocations: 7.984 kB / 0.8624 GB, free: 5.875 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.6261, allocations: 0 / 0.8624 GB, free: 5.875 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007966/0.6269, allocations: 0.5107 MB / 0.8629 GB, free: 5.332 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000148/0.6271, allocations: 144.6 kB / 0.8631 GB, free: 5.172 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.117e-05/0.6272, allocations: 12 kB / 0.8631 GB, free: 5.16 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002536/0.6274, allocations: 11.98 kB / 0.8631 GB, free: 5.148 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.774e-05/0.6275, allocations: 19.97 kB / 0.8631 GB, free: 5.129 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/0.6275, allocations: 11.94 kB / 0.8631 GB, free: 5.117 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.000359/0.6279, allocations: 303.1 kB / 0.8634 GB, free: 4.824 MB / 0.6856 GB Notification: Performance of sort global known variables: time 3.21e-07/0.6279, allocations: 0 / 0.8634 GB, free: 4.824 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.000494/0.6284, allocations: 115.8 kB / 0.8635 GB, free: 4.711 MB / 0.6856 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.0005627/0.629, allocations: 197.5 kB / 0.8637 GB, free: 4.52 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0005107/0.6295, allocations: 219.9 kB / 0.8639 GB, free: 4.305 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.6295, allocations: 0 / 0.8639 GB, free: 4.305 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002259/0.6298, allocations: 111.8 kB / 0.864 GB, free: 4.195 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.6308, allocations: 227.2 kB / 0.8643 GB, free: 3.977 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.6324, allocations: 0.8913 MB / 0.8651 GB, free: 3.035 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004017/0.6328, allocations: 0.8232 MB / 0.8659 GB, free: 2.188 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002571/0.6331, allocations: 83.36 kB / 0.866 GB, free: 2.102 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.6332, allocations: 39.42 kB / 0.866 GB, free: 2.062 MB / 0.6856 GB Notification: Performance of SimCode: time 2.6e-07/0.6332, allocations: 0 / 0.866 GB, free: 2.062 MB / 0.6856 GB Notification: Performance of Templates: time 0.3464/0.9796, allocations: 8.115 MB / 0.874 GB, free: 187 MB / 0.6856 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)