Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Airflow.Multizone.Examples.Orifice,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.Orifice,fileNamePrefix="IBPSA_latest_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.0009684/0.0009684, allocations: 96.03 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 174.5 kB / 16.56 MB, free: 6.387 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.466/1.466, allocations: 223.2 MB / 240.5 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8137/0.8137, allocations: 113.7 MB / 405.3 MB, free: 4.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004289/0.000429, allocations: 11.94 kB / 493 MB, free: 8.641 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2061, allocations: 77.12 MB / 0.5567 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.Orifice): time 0.5101/0.7163, allocations: 145.2 MB / 0.6985 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003697/0.72, allocations: 2.308 MB / 0.7007 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004765/0.7205, allocations: 11.88 kB / 0.7008 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009439/0.7215, allocations: 238.9 kB / 0.701 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002643/0.7241, allocations: 0.779 MB / 0.7017 GB, free: 5.629 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00168/0.7258, allocations: 0.5411 MB / 0.7023 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00109/0.7269, allocations: 0.5849 MB / 0.7028 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005857/0.7275, allocations: 269.5 kB / 0.7031 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001183/0.7287, allocations: 462.6 kB / 0.7035 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003681/0.7291, allocations: 211.1 kB / 0.7037 GB, free: 3.586 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.99e-05/0.7292, allocations: 20 kB / 0.7038 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00122/0.7304, allocations: 0.4914 MB / 0.7042 GB, free: 3.074 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001535/0.7306, allocations: 127.5 kB / 0.7044 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001456/0.7307, allocations: 113.5 kB / 0.7045 GB, free: 2.832 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00079/0.7315, allocations: 0.5075 MB / 0.705 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.7315, allocations: 0 / 0.705 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.874e-06/0.7315, allocations: 4 kB / 0.705 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.188e-05/0.7316, allocations: 0 / 0.705 GB, free: 2.328 MB / 0.5137 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.001146/0.7327, allocations: 0.729 MB / 0.7057 GB, free: 1.551 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.7328, allocations: 12.03 kB / 0.7057 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.856e-05/0.7329, allocations: 62.53 kB / 0.7058 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001247/0.7341, allocations: 187.2 kB / 0.7059 GB, free: 1.285 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005325/0.7347, allocations: 361.6 kB / 0.7063 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.508e-05/0.7347, allocations: 24.66 kB / 0.7063 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.806e-05/0.7347, allocations: 28 kB / 0.7063 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005538/0.7353, allocations: 373.1 kB / 0.7067 GB, free: 460 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.7353, allocations: 0 / 0.7067 GB, free: 460 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.333e-05/0.7354, allocations: 19.98 kB / 0.7067 GB, free: 440 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.271e-05/0.7354, allocations: 16 kB / 0.7067 GB, free: 424 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004932/0.7359, allocations: 262 kB / 0.707 GB, free: 160 kB / 0.5137 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.001673/0.7376, allocations: 1.664 MB / 0.7086 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003654/0.738, allocations: 227.2 kB / 0.7088 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007007/0.7387, allocations: 0.7117 MB / 0.7095 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.7387, allocations: 38.52 kB / 0.7095 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=23): time 1.523e-06/0.7387, allocations: 0 / 0.7095 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of matching and sorting (n=23): time 0.0008361/0.7396, allocations: 372.1 kB / 0.7099 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.7396, allocations: 55.41 kB / 0.71 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004008/0.74, allocations: 418 kB / 0.7104 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.74, allocations: 33.7 kB / 0.7104 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.7402, allocations: 208.3 kB / 0.7106 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.572e-05/0.7402, allocations: 86.7 kB / 0.7107 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.124e-05/0.7403, allocations: 4 kB / 0.7107 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.7404, allocations: 350.8 kB / 0.711 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001842/0.7406, allocations: 87.95 kB / 0.7111 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/0.7408, allocations: 124.8 kB / 0.7112 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001983/0.741, allocations: 98.94 kB / 0.7113 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.741, allocations: 8 kB / 0.7113 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004932/0.7415, allocations: 281.1 kB / 0.7116 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.7416, allocations: 4 kB / 0.7116 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.7416, allocations: 3.953 kB / 0.7116 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.7416, allocations: 7.984 kB / 0.7116 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002367/0.7418, allocations: 55.95 kB / 0.7116 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.7418, allocations: 3.938 kB / 0.7116 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002405/0.7421, allocations: 46.97 kB / 0.7117 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.337e-05/0.7421, allocations: 8 kB / 0.7117 GB, free: 10.96 MB / 0.5294 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.0001548/0.7423, allocations: 165.8 kB / 0.7119 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.291e-05/0.7424, allocations: 43.53 kB / 0.7119 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005486/0.7429, allocations: 305.1 kB / 0.7122 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.7429, allocations: 3.953 kB / 0.7122 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.7429, allocations: 8 kB / 0.7122 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.7429, allocations: 112 / 0.7122 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.7441, allocations: 0.821 MB / 0.713 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.7441, allocations: 7.984 kB / 0.713 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002201/0.7443, allocations: 39.98 kB / 0.7131 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-06/0.7444, allocations: 4 kB / 0.7131 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/0.7444, allocations: 8 kB / 0.7131 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/0.7444, allocations: 16.11 kB / 0.7131 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.7444, allocations: 0 / 0.7131 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000775/0.7452, allocations: 0.5997 MB / 0.7137 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001636/0.7454, allocations: 144.6 kB / 0.7138 GB, free: 8.625 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.6e-05/0.7454, allocations: 8 kB / 0.7138 GB, free: 8.617 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002831/0.7457, allocations: 32.84 kB / 0.7138 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.459e-05/0.7458, allocations: 11.98 kB / 0.7139 GB, free: 8.574 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/0.7458, allocations: 15.98 kB / 0.7139 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003053/0.7461, allocations: 291.1 kB / 0.7141 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7461, allocations: 0 / 0.7141 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000437/0.7466, allocations: 123.8 kB / 0.7143 GB, free: 8.152 MB / 0.5294 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.001461/0.748, allocations: 1.622 MB / 0.7158 GB, free: 6.477 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004355/0.7485, allocations: 212.1 kB / 0.716 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.7485, allocations: 0 / 0.716 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002069/0.7487, allocations: 124.2 kB / 0.7162 GB, free: 6.148 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009653/0.7497, allocations: 206 kB / 0.7164 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003498/0.7532, allocations: 2.976 MB / 0.7193 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.7535, allocations: 0.8353 MB / 0.7201 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002923/0.7538, allocations: 91.33 kB / 0.7202 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001676/0.754, allocations: 139.4 kB / 0.7203 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of SimCode: time 6.72e-07/0.754, allocations: 0 / 0.7203 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02335/0.7774, allocations: 11.39 MB / 0.7314 GB, free: 6.691 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002136/0.7776, allocations: 216.9 kB / 0.7316 GB, free: 6.445 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.075/2.852, allocations: 3.938 kB / 0.7316 GB, free: 6.441 MB / 0.545 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_Orifice.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.pipe 2>&1) Environment - environmentSimulation: