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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-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: "" <> 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.00583/0.005831, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001583/0.001583, allocations: 195.2 kB / 16.67 MB, free: 5.977 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.362/1.362, 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-master/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-master/package.mo): time 0.9694/0.9694, allocations: 143.3 MB / 433.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001799/0.001799, allocations: 75.88 kB / 0.5953 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.3724, allocations: 82.02 MB / 0.6754 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice): time 0.1871/0.5595, allocations: 173.9 MB / 0.8452 GB, free: 7.691 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.003996/0.5635, allocations: 2.31 MB / 0.8475 GB, free: 5.375 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005187/0.5641, allocations: 11.94 kB / 0.8475 GB, free: 5.363 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0007859/0.5649, allocations: 230.3 kB / 0.8477 GB, free: 5.137 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002304/0.5672, allocations: 0.9294 MB / 0.8486 GB, free: 4.203 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00206/0.5693, allocations: 0.8217 MB / 0.8494 GB, free: 3.383 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001413/0.5707, allocations: 0.9663 MB / 0.8503 GB, free: 2.41 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005007/0.5712, allocations: 327.7 kB / 0.8507 GB, free: 2.086 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006983/0.572, allocations: 454.3 kB / 0.8511 GB, free: 1.641 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003895/0.5724, allocations: 314.7 kB / 0.8514 GB, free: 1.332 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 6.289e-05/0.5724, allocations: 32 kB / 0.8514 GB, free: 1.301 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001671/0.5741, allocations: 0.9937 MB / 0.8524 GB, free: 312 kB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001683/0.5743, allocations: 159.5 kB / 0.8525 GB, free: 152 kB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0002582/0.5746, allocations: 230.9 kB / 0.8528 GB, free: 15.92 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001347/0.5759, allocations: 0.9361 MB / 0.8537 GB, free: 14.99 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.5759, allocations: 0 / 0.8537 GB, free: 14.99 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.263e-06/0.5759, allocations: 0 / 0.8537 GB, free: 14.99 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.5759, allocations: 0 / 0.8537 GB, free: 14.99 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.001221/0.5772, allocations: 0.8208 MB / 0.8545 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.5772, allocations: 12.03 kB / 0.8545 GB, free: 14.1 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.857e-05/0.5773, allocations: 70.47 kB / 0.8546 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001167/0.5785, allocations: 179.5 kB / 0.8547 GB, free: 13.85 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006062/0.5791, allocations: 401.7 kB / 0.8551 GB, free: 13.42 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.5791, allocations: 24.66 kB / 0.8551 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.791e-05/0.5792, allocations: 28 kB / 0.8552 GB, free: 13.37 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006033/0.5798, allocations: 373.1 kB / 0.8555 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.5798, allocations: 0 / 0.8555 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.601e-05/0.5798, allocations: 19.94 kB / 0.8555 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.108e-05/0.5799, allocations: 8 kB / 0.8555 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000508/0.5804, allocations: 258 kB / 0.8558 GB, free: 12.7 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.001805/0.5822, allocations: 1.672 MB / 0.8574 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003916/0.5826, allocations: 210.6 kB / 0.8576 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002172/0.5828, allocations: 127.1 kB / 0.8577 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00101/0.5839, allocations: 0.874 MB / 0.8586 GB, free: 9.492 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.5839, allocations: 30.56 kB / 0.8586 GB, free: 9.453 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=23): time 1.492e-06/0.5839, allocations: 0 / 0.8586 GB, free: 9.453 MB / 0.6856 GB Notification: Performance of matching and sorting (n=23): time 0.0008773/0.5848, allocations: 357.1 kB / 0.859 GB, free: 9.098 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.5848, allocations: 63.2 kB / 0.859 GB, free: 9.023 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004483/0.5853, allocations: 422 kB / 0.8594 GB, free: 8.598 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.5853, allocations: 29.7 kB / 0.8595 GB, free: 8.562 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.5855, allocations: 216.4 kB / 0.8597 GB, free: 8.348 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 7.112e-05/0.5856, allocations: 87.22 kB / 0.8597 GB, free: 8.262 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.387e-05/0.5857, allocations: 49.7 kB / 0.8598 GB, free: 8.207 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.5858, allocations: 354.7 kB / 0.8601 GB, free: 7.852 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.586, allocations: 87.88 kB / 0.8602 GB, free: 7.766 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002325/0.5863, allocations: 121.5 kB / 0.8603 GB, free: 7.637 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000394/0.5867, allocations: 210.5 kB / 0.8605 GB, free: 7.422 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.5867, allocations: 4.031 kB / 0.8605 GB, free: 7.418 MB / 0.6856 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005232/0.5872, allocations: 285.2 kB / 0.8608 GB, free: 7.133 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.5872, allocations: 4 kB / 0.8608 GB, free: 7.129 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.5872, allocations: 0 / 0.8608 GB, free: 7.129 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.5873, allocations: 4 kB / 0.8608 GB, free: 7.125 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002269/0.5875, allocations: 55.91 kB / 0.8609 GB, free: 7.07 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.5875, allocations: 3.938 kB / 0.8609 GB, free: 7.066 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/0.5877, allocations: 35.81 kB / 0.8609 GB, free: 7.031 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.425e-05/0.5877, allocations: 8 kB / 0.8609 GB, free: 7.023 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.0001676/0.5879, allocations: 161.8 kB / 0.8611 GB, free: 6.855 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.277e-05/0.588, allocations: 47.72 kB / 0.8611 GB, free: 6.809 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005614/0.5886, allocations: 274.6 kB / 0.8614 GB, free: 6.535 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.5886, allocations: 8 kB / 0.8614 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.5886, allocations: 3.938 kB / 0.8614 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.5886, allocations: 4 kB / 0.8614 GB, free: 6.52 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/0.5898, allocations: 0.8208 MB / 0.8622 GB, free: 5.625 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.5898, allocations: 0 / 0.8622 GB, free: 5.625 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002211/0.59, allocations: 51.91 kB / 0.8622 GB, free: 5.574 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.59, allocations: 0 / 0.8622 GB, free: 5.574 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/0.5901, allocations: 8 kB / 0.8623 GB, free: 5.566 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.5901, allocations: 4 kB / 0.8623 GB, free: 5.562 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.5901, allocations: 7.938 kB / 0.8623 GB, free: 5.555 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007775/0.5909, allocations: 0.5025 MB / 0.8628 GB, free: 5.02 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001514/0.591, allocations: 148.8 kB / 0.8629 GB, free: 4.855 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.491e-05/0.5911, allocations: 12 kB / 0.8629 GB, free: 4.844 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002461/0.5913, allocations: 15.98 kB / 0.8629 GB, free: 4.828 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.373e-05/0.5914, allocations: 23.86 kB / 0.8629 GB, free: 4.805 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.25e-05/0.5914, allocations: 11.98 kB / 0.863 GB, free: 4.793 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0003078/0.5917, allocations: 295.1 kB / 0.8632 GB, free: 4.508 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5918, allocations: 0 / 0.8632 GB, free: 4.508 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0004104/0.5922, allocations: 123.8 kB / 0.8634 GB, free: 4.387 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.001378/0.5936, allocations: 1.136 MB / 0.8645 GB, free: 3.219 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004824/0.594, allocations: 213.7 kB / 0.8647 GB, free: 3.012 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5941, allocations: 0 / 0.8647 GB, free: 3.012 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002331/0.5943, allocations: 116.2 kB / 0.8648 GB, free: 2.898 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.5954, allocations: 218.9 kB / 0.865 GB, free: 2.688 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3236/0.9189, allocations: 3.686 MB / 0.8686 GB, free: 187 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.9193, allocations: 0.827 MB / 0.8694 GB, free: 186.3 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0003318/0.9196, allocations: 79.92 kB / 0.8695 GB, free: 186.3 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001712/0.9198, allocations: 137.9 kB / 0.8696 GB, free: 186.3 MB / 0.6856 GB Notification: Performance of SimCode: time 6.71e-07/0.9198, allocations: 6.031 kB / 0.8696 GB, free: 186.3 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8416/1.761, allocations: 12.16 MB / 0.8815 GB, free: 182.2 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/12.71, allocations: 6.812 kB / 0.8815 GB, free: 182.2 MB / 0.6856 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)