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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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.001093/0.001093, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001279/0.001279, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.105/1.105, allocations: 143.4 MB / 434.4 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003288/0.0003289, allocations: 8 kB / 0.5161 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1817, allocations: 83.42 MB / 0.5975 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice): time 0.5498/0.7316, allocations: 158 MB / 0.7518 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00407/0.7357, allocations: 2.172 MB / 0.754 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006521/0.7364, allocations: 19.88 kB / 0.754 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007739/0.7372, allocations: 150.9 kB / 0.7541 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002231/0.7395, allocations: 0.6881 MB / 0.7548 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002153/0.7416, allocations: 0.5985 MB / 0.7554 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001709/0.7434, allocations: 1.142 MB / 0.7565 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000642/0.744, allocations: 258.5 kB / 0.7567 GB, free: 9.086 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001005/0.745, allocations: 414.4 kB / 0.7571 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006492/0.7457, allocations: 302.8 kB / 0.7574 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001114/0.7458, allocations: 16 kB / 0.7574 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001616/0.7475, allocations: 0.5416 MB / 0.758 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002185/0.7477, allocations: 127.5 kB / 0.7581 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002132/0.7479, allocations: 109.5 kB / 0.7582 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001005/0.7489, allocations: 0.569 MB / 0.7588 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.7489, allocations: 4 kB / 0.7588 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.208e-06/0.749, allocations: 3.938 kB / 0.7588 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.088e-05/0.749, allocations: 3.938 kB / 0.7588 GB, free: 7.004 MB / 0.5762 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.001479/0.7505, allocations: 0.7323 MB / 0.7595 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.7505, allocations: 12.03 kB / 0.7595 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001107/0.7506, allocations: 62.55 kB / 0.7596 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001309/0.752, allocations: 183.6 kB / 0.7597 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006264/0.7526, allocations: 361.7 kB / 0.7601 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.697e-05/0.7526, allocations: 20.66 kB / 0.7601 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.473e-05/0.7527, allocations: 36 kB / 0.7601 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006904/0.7534, allocations: 377 kB / 0.7605 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.7534, allocations: 0.5625 kB / 0.7605 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.222e-05/0.7535, allocations: 16 kB / 0.7605 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.453e-05/0.7535, allocations: 8 kB / 0.7605 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005591/0.7541, allocations: 266 kB / 0.7608 GB, free: 4.844 MB / 0.5762 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.002036/0.7561, allocations: 1.687 MB / 0.7624 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003961/0.7565, allocations: 204.1 kB / 0.7626 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002315/0.7568, allocations: 116.8 kB / 0.7627 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001105/0.7579, allocations: 0.8951 MB / 0.7636 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.7579, allocations: 35.44 kB / 0.7636 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=23): time 2.314e-06/0.7579, allocations: 0 / 0.7636 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.0009648/0.7589, allocations: 366.7 kB / 0.764 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.759, allocations: 59.39 kB / 0.764 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004841/0.7595, allocations: 414 kB / 0.7644 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.795e-05/0.7595, allocations: 33.7 kB / 0.7645 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/0.7597, allocations: 220.2 kB / 0.7647 GB, free: 484 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.717e-05/0.7598, allocations: 70.86 kB / 0.7647 GB, free: 412 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.386e-05/0.7598, allocations: 8 kB / 0.7647 GB, free: 404 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.7599, allocations: 354.8 kB / 0.7651 GB, free: 40 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002189/0.7602, allocations: 79.95 kB / 0.7652 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002217/0.7604, allocations: 133.5 kB / 0.7653 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002178/0.7606, allocations: 100.6 kB / 0.7654 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.7607, allocations: 0 / 0.7654 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005736/0.7612, allocations: 294.1 kB / 0.7657 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.7613, allocations: 4.109 kB / 0.7657 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.7613, allocations: 7.938 kB / 0.7657 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/0.7613, allocations: 0 / 0.7657 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002434/0.7616, allocations: 55.91 kB / 0.7657 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.7616, allocations: 7.969 kB / 0.7657 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002868/0.7619, allocations: 47.66 kB / 0.7658 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.04e-05/0.7619, allocations: 8.5 kB / 0.7658 GB, free: 15.3 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001809/0.7621, allocations: 161.7 kB / 0.7659 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.23e-05/0.7622, allocations: 43.53 kB / 0.766 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000616/0.7628, allocations: 299.8 kB / 0.7663 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/0.7628, allocations: 4 kB / 0.7663 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.7629, allocations: 0.5 kB / 0.7663 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.7629, allocations: 0 / 0.7663 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00135/0.7642, allocations: 0.8246 MB / 0.7671 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/0.7643, allocations: 0.75 kB / 0.7671 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002368/0.7645, allocations: 47.91 kB / 0.7671 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-05/0.7645, allocations: 4 kB / 0.7671 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.457e-05/0.7645, allocations: 8 kB / 0.7671 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.725e-06/0.7646, allocations: 7.984 kB / 0.7671 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.7646, allocations: 3.5 kB / 0.7672 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008521/0.7654, allocations: 0.5251 MB / 0.7677 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001954/0.7656, allocations: 144.6 kB / 0.7678 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.003e-05/0.7657, allocations: 8 kB / 0.7678 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003195/0.766, allocations: 31.97 kB / 0.7678 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.886e-05/0.7661, allocations: 20.03 kB / 0.7679 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.891e-05/0.7662, allocations: 12 kB / 0.7679 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003604/0.7665, allocations: 295.1 kB / 0.7682 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7665, allocations: 3.938 kB / 0.7682 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005337/0.7671, allocations: 115.9 kB / 0.7683 GB, free: 12.62 MB / 0.5919 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001603/0.7687, allocations: 1.141 MB / 0.7694 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005918/0.7693, allocations: 227.5 kB / 0.7696 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/0.7693, allocations: 0 / 0.7696 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002448/0.7696, allocations: 120.2 kB / 0.7697 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001198/0.7708, allocations: 229 kB / 0.7699 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004475/0.7753, allocations: 2.537 MB / 0.7724 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004446/0.7757, allocations: 0.8197 MB / 0.7732 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003846/0.7761, allocations: 83.34 kB / 0.7733 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002114/0.7764, allocations: 139.4 kB / 0.7734 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of SimCode: time 1.042e-06/0.7764, allocations: 0 / 0.7734 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02825/0.8046, allocations: 11.47 MB / 0.7846 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002029/0.8049, allocations: 229.5 kB / 0.7848 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.413/3.218, allocations: 3.234 kB / 0.7848 GB, free: 11.82 MB / 0.6075 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/linux/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) Environment - environmentSimulation: