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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.767/0.767, allocations: 127.3 MB / 139.8 MB, free: 15.48 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001287/0.001287, allocations: 176.8 kB / 169.7 MB, free: 1.754 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.024/2.024, allocations: 205.1 MB / 404.5 MB, free: 1.688 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009401/0.00094, allocations: 97.77 kB / 481.8 MB, free: 4.328 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.061e-05/4.063e-05, allocations: 4 kB / 0.5533 GB, free: 54.78 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2062, allocations: 76.76 MB / 0.6282 GB, free: 9.961 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.248/6.454, allocations: 2.14 GB / 2.768 GB, free: 140.6 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/6.454, allocations: 83.33 kB / 2.769 GB, free: 140.5 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.231/7.685, allocations: 350.7 MB / 3.111 GB, free: 51.84 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.305e-06/7.685, allocations: 0 / 3.111 GB, free: 51.84 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.461e-05/7.685, allocations: 19.98 kB / 3.111 GB, free: 51.82 MB / 0.6511 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.002197/7.688, allocations: 0.7602 MB / 3.112 GB, free: 51.02 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.193e-05/7.688, allocations: 15.97 kB / 3.112 GB, free: 51 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001844/7.688, allocations: 63.22 kB / 3.112 GB, free: 50.93 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001536/7.689, allocations: 175.2 kB / 3.112 GB, free: 50.76 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009177/7.69, allocations: 376.3 kB / 3.112 GB, free: 50.35 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.768e-05/7.69, allocations: 28.78 kB / 3.112 GB, free: 50.32 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.711e-05/7.69, allocations: 28 kB / 3.112 GB, free: 50.29 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006401/7.691, allocations: 337.9 kB / 3.113 GB, free: 49.94 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.513e-05/7.691, allocations: 4 kB / 3.113 GB, free: 49.93 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.356e-05/7.691, allocations: 16 kB / 3.113 GB, free: 49.92 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/7.691, allocations: 8 kB / 3.113 GB, free: 49.91 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004111/7.692, allocations: 230 kB / 3.113 GB, free: 49.68 MB / 0.6511 GB Warning: The model contains alias variables with conflicting start and/or 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.001948/7.694, allocations: 1.593 MB / 3.115 GB, free: 47.96 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003118/7.694, allocations: 186.6 kB / 3.115 GB, free: 47.77 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001371/7.694, allocations: 100.8 kB / 3.115 GB, free: 47.67 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008199/7.695, allocations: 0.8701 MB / 3.116 GB, free: 46.61 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/7.695, allocations: 38.52 kB / 3.116 GB, free: 46.57 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=23): time 2.685e-06/7.695, allocations: 0 / 3.116 GB, free: 46.57 MB / 0.6511 GB Notification: Performance of matching and sorting (n=23): time 0.000649/7.696, allocations: 241.2 kB / 3.116 GB, free: 46.33 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/7.696, allocations: 55.41 kB / 3.116 GB, free: 46.26 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003706/7.696, allocations: 363.2 kB / 3.116 GB, free: 45.91 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.004e-05/7.696, allocations: 29.7 kB / 3.116 GB, free: 45.87 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/7.696, allocations: 208.5 kB / 3.117 GB, free: 45.66 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.502e-05/7.696, allocations: 82.77 kB / 3.117 GB, free: 45.58 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.141e-05/7.696, allocations: 4 kB / 3.117 GB, free: 45.58 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.627e-05/7.696, allocations: 358.7 kB / 3.117 GB, free: 45.22 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/7.696, allocations: 56.47 kB / 3.117 GB, free: 45.16 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/7.697, allocations: 122.2 kB / 3.117 GB, free: 45.02 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/7.697, allocations: 87.86 kB / 3.117 GB, free: 44.94 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/7.697, allocations: 0 / 3.117 GB, free: 44.94 MB / 0.6511 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003776/7.697, allocations: 243.9 kB / 3.118 GB, free: 44.7 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/7.697, allocations: 8 kB / 3.118 GB, free: 44.69 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/7.697, allocations: 3.953 kB / 3.118 GB, free: 44.68 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/7.697, allocations: 4.031 kB / 3.118 GB, free: 44.68 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002423/7.697, allocations: 59.91 kB / 3.118 GB, free: 44.62 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/7.698, allocations: 7.984 kB / 3.118 GB, free: 44.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000321/7.698, allocations: 43.58 kB / 3.118 GB, free: 44.57 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-05/7.698, allocations: 11.98 kB / 3.118 GB, free: 44.56 MB / 0.6511 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 () * 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 7.895e-05/7.698, allocations: 120.9 kB / 3.118 GB, free: 44.43 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.49e-05/7.698, allocations: 39.53 kB / 3.118 GB, free: 44.39 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004428/7.699, allocations: 253.2 kB / 3.118 GB, free: 44.14 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/7.699, allocations: 8.062 kB / 3.118 GB, free: 44.13 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/7.699, allocations: 3.938 kB / 3.118 GB, free: 44.13 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/7.699, allocations: 0 / 3.118 GB, free: 44.13 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/7.7, allocations: 0.7644 MB / 3.119 GB, free: 43.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/7.7, allocations: 0 / 3.119 GB, free: 43.29 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000227/7.7, allocations: 51.91 kB / 3.119 GB, free: 43.24 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.583e-06/7.7, allocations: 4 kB / 3.119 GB, free: 43.23 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.334e-05/7.7, allocations: 12.19 kB / 3.119 GB, free: 43.22 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/7.7, allocations: 4 kB / 3.119 GB, free: 43.22 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/7.7, allocations: 3.984 kB / 3.119 GB, free: 43.21 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005779/7.7, allocations: 0.5185 MB / 3.119 GB, free: 42.62 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001867/7.701, allocations: 140.5 kB / 3.12 GB, free: 42.47 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.477e-05/7.701, allocations: 11.98 kB / 3.12 GB, free: 42.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002835/7.701, allocations: 19.98 kB / 3.12 GB, free: 42.44 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.02e-05/7.701, allocations: 19.98 kB / 3.12 GB, free: 42.42 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.491e-05/7.701, allocations: 7.938 kB / 3.12 GB, free: 42.41 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002938/7.701, allocations: 293.2 kB / 3.12 GB, free: 42.12 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/7.701, allocations: 4 kB / 3.12 GB, free: 42.12 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001013/7.703, allocations: 223.9 kB / 3.12 GB, free: 41.9 MB / 0.6511 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 () * 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.00303/7.706, allocations: 2.598 MB / 3.123 GB, free: 39.22 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003818/7.706, allocations: 175.7 kB / 3.123 GB, free: 39.05 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/7.706, allocations: 0 / 3.123 GB, free: 39.05 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001507/7.706, allocations: 96.23 kB / 3.123 GB, free: 38.95 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/7.707, allocations: 224.3 kB / 3.123 GB, free: 38.73 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001919/7.709, allocations: 0.7924 MB / 3.124 GB, free: 37.88 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/7.71, allocations: 0.8353 MB / 3.125 GB, free: 37.02 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003672/7.71, allocations: 75.36 kB / 3.125 GB, free: 36.95 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001988/7.71, allocations: 135.4 kB / 3.125 GB, free: 36.81 MB / 0.6511 GB Notification: Performance of SimCode: time 9.61e-07/7.71, allocations: 0 / 3.125 GB, free: 36.81 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06545/7.776, allocations: 33.07 MB / 3.157 GB, free: 3.859 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001881/7.776, allocations: 193.7 kB / 3.157 GB, free: 3.633 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.366/11.14, allocations: 3.938 kB / 3.157 GB, free: 3.629 MB / 0.6511 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)