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: "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005402/0.005402, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001269/0.001269, allocations: 196.8 kB / 16.67 MB, free: 5.926 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.297/1.297, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.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.8683/0.8683, allocations: 143.1 MB / 433.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 68.34 kB / 0.595 GB, free: 12.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1579, allocations: 82.03 MB / 0.6751 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice): time 0.5727/0.7307, allocations: 173.9 MB / 0.845 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.004613/0.7354, allocations: 2.302 MB / 0.8472 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007362/0.7362, allocations: 11.75 kB / 0.8472 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001/0.7372, allocations: 235.4 kB / 0.8474 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002798/0.74, allocations: 0.9324 MB / 0.8483 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002618/0.7427, allocations: 0.8269 MB / 0.8492 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001717/0.7444, allocations: 0.9689 MB / 0.8501 GB, free: 9.469 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000746/0.7452, allocations: 325.2 kB / 0.8504 GB, free: 9.27 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001203/0.7464, allocations: 457.5 kB / 0.8508 GB, free: 9.02 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006398/0.7471, allocations: 314.2 kB / 0.8511 GB, free: 8.832 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000131/0.7473, allocations: 35.25 kB / 0.8512 GB, free: 8.832 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002352/0.7496, allocations: 0.9906 MB / 0.8521 GB, free: 8.273 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002812/0.7499, allocations: 156.7 kB / 0.8523 GB, free: 8.164 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000431/0.7504, allocations: 234.7 kB / 0.8525 GB, free: 8.02 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002017/0.7524, allocations: 0.9233 MB / 0.8534 GB, free: 7.457 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.7524, allocations: 2.719 kB / 0.8534 GB, free: 7.457 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7524, allocations: 4 kB / 0.8534 GB, free: 7.453 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.389e-05/0.7525, allocations: 0 / 0.8534 GB, free: 7.453 MB / 0.6231 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.00182/0.7543, allocations: 0.8026 MB / 0.8542 GB, free: 6.734 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.7544, allocations: 8.031 kB / 0.8542 GB, free: 6.727 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.748e-05/0.7545, allocations: 66.53 kB / 0.8543 GB, free: 6.652 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001555/0.756, allocations: 191 kB / 0.8545 GB, free: 6.465 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008003/0.7569, allocations: 385.5 kB / 0.8548 GB, free: 6.047 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000111/0.757, allocations: 28.66 kB / 0.8549 GB, free: 6.02 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.924e-05/0.7571, allocations: 31.91 kB / 0.8549 GB, free: 5.988 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007086/0.7578, allocations: 365.1 kB / 0.8552 GB, free: 5.605 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.843e-05/0.7578, allocations: 11.94 kB / 0.8553 GB, free: 5.594 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.872e-05/0.7579, allocations: 12 kB / 0.8553 GB, free: 5.582 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.364e-05/0.7579, allocations: 15.94 kB / 0.8553 GB, free: 5.566 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005308/0.7584, allocations: 258 kB / 0.8555 GB, free: 5.316 MB / 0.6231 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.002108/0.7606, allocations: 1.671 MB / 0.8572 GB, free: 3.508 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004024/0.761, allocations: 203.2 kB / 0.8573 GB, free: 3.301 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002903/0.7613, allocations: 112.8 kB / 0.8575 GB, free: 3.188 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001203/0.7625, allocations: 0.874 MB / 0.8583 GB, free: 2.129 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.7626, allocations: 42.5 kB / 0.8584 GB, free: 2.078 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=23): time 2.404e-06/0.7626, allocations: 0 / 0.8584 GB, free: 2.078 MB / 0.6231 GB Notification: Performance of matching and sorting (n=23): time 0.001014/0.7636, allocations: 350.1 kB / 0.8587 GB, free: 1.73 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.7637, allocations: 59.27 kB / 0.8587 GB, free: 1.66 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005378/0.7642, allocations: 421.9 kB / 0.8591 GB, free: 1.234 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.241e-05/0.7643, allocations: 33.7 kB / 0.8592 GB, free: 1.195 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/0.7644, allocations: 212.3 kB / 0.8594 GB, free: 0.9844 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.654e-05/0.7645, allocations: 86.75 kB / 0.8595 GB, free: 0.8984 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.942e-05/0.7646, allocations: 49.7 kB / 0.8595 GB, free: 0.8438 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.7648, allocations: 350.7 kB / 0.8598 GB, free: 0.4922 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001941/0.765, allocations: 83.94 kB / 0.8599 GB, free: 420 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002195/0.7652, allocations: 132.5 kB / 0.86 GB, free: 276 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003987/0.7656, allocations: 205.5 kB / 0.8602 GB, free: 60 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.7656, allocations: 0 / 0.8602 GB, free: 60 kB / 0.6231 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006053/0.7662, allocations: 282.6 kB / 0.8605 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.7663, allocations: 9.781 kB / 0.8605 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.7663, allocations: 7.375 kB / 0.8605 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.7663, allocations: 0 / 0.8605 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002532/0.7666, allocations: 56.02 kB / 0.8606 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.7666, allocations: 7.938 kB / 0.8606 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002744/0.7669, allocations: 35.56 kB / 0.8606 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.979e-05/0.7669, allocations: 8.094 kB / 0.8606 GB, free: 15.66 MB / 0.6387 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.0002048/0.7671, allocations: 165.8 kB / 0.8608 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.96e-05/0.7672, allocations: 47.52 kB / 0.8608 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000615/0.7678, allocations: 279.2 kB / 0.8611 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.7679, allocations: 0 / 0.8611 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.7679, allocations: 0 / 0.8611 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.7679, allocations: 3.938 kB / 0.8611 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/0.7692, allocations: 0.8189 MB / 0.8619 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.7692, allocations: 0 / 0.8619 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002368/0.7695, allocations: 51.91 kB / 0.862 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.815e-06/0.7695, allocations: 4 kB / 0.862 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/0.7695, allocations: 8.188 kB / 0.862 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.7695, allocations: 8.875 kB / 0.862 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.7696, allocations: 0 / 0.862 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008578/0.7704, allocations: 0.51 MB / 0.8625 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002194/0.7706, allocations: 144.6 kB / 0.8626 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.259e-05/0.7707, allocations: 0 / 0.8626 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002767/0.771, allocations: 15.98 kB / 0.8626 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.511e-05/0.7711, allocations: 27.92 kB / 0.8627 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001292/0.7712, allocations: 8.609 kB / 0.8627 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003477/0.7716, allocations: 307.1 kB / 0.863 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3e-07/0.7716, allocations: 0 / 0.863 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0005169/0.7721, allocations: 115.8 kB / 0.8631 GB, free: 13.03 MB / 0.6387 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.001569/0.7737, allocations: 1.124 MB / 0.8642 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005472/0.7743, allocations: 212 kB / 0.8644 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.7743, allocations: 0 / 0.8644 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002258/0.7745, allocations: 115.8 kB / 0.8645 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/0.7757, allocations: 237.7 kB / 0.8647 GB, free: 11.33 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005897/0.7816, allocations: 3.686 MB / 0.8683 GB, free: 7.504 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004683/0.7822, allocations: 0.8233 MB / 0.8691 GB, free: 6.656 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003533/0.7825, allocations: 83.33 kB / 0.8692 GB, free: 6.574 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002174/0.7828, allocations: 139.4 kB / 0.8693 GB, free: 6.438 MB / 0.6387 GB Notification: Performance of SimCode: time 8.72e-07/0.7828, allocations: 4 kB / 0.8693 GB, free: 6.434 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04279/0.8256, allocations: 12.32 MB / 0.8814 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.782/9.608, allocations: 9.953 kB / 0.8814 GB, free: 10.34 MB / 0.6544 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_Orifice.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.pipe 2>&1)