Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.45/1.45, allocations: 251.9 MB / 266.9 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001503/0.001503, allocations: 178.6 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.54/1.54, allocations: 205.4 MB / 0.5775 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000896/0.0008957, allocations: 96.23 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003497/0.00035, allocations: 5.844 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2145, allocations: 106.3 MB / 0.9001 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1517/0.3663, allocations: 145.3 MB / 1.042 GB, free: 14.19 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003692/0.37, allocations: 2.351 MB / 1.044 GB, free: 11.84 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004044/0.3704, allocations: 11.94 kB / 1.044 GB, free: 11.82 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007822/0.3712, allocations: 238.9 kB / 1.045 GB, free: 11.59 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001904/0.3732, allocations: 0.7596 MB / 1.045 GB, free: 10.83 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00158/0.3747, allocations: 0.6074 MB / 1.046 GB, free: 10.23 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0008304/0.3756, allocations: 0.5892 MB / 1.046 GB, free: 9.633 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003856/0.376, allocations: 253.6 kB / 1.047 GB, free: 9.379 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007997/0.3768, allocations: 470.6 kB / 1.047 GB, free: 8.918 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002569/0.3771, allocations: 211.1 kB / 1.047 GB, free: 8.711 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.434e-05/0.3771, allocations: 20 kB / 1.047 GB, free: 8.691 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009657/0.3781, allocations: 0.4953 MB / 1.048 GB, free: 8.195 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.3782, allocations: 123.6 kB / 1.048 GB, free: 8.074 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.3784, allocations: 113.5 kB / 1.048 GB, free: 7.957 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006121/0.379, allocations: 0.5108 MB / 1.049 GB, free: 7.445 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.379, allocations: 0 / 1.049 GB, free: 7.445 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.114e-06/0.379, allocations: 0 / 1.049 GB, free: 7.445 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.379, allocations: 0 / 1.049 GB, free: 7.445 MB / 0.698 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.001143/0.3802, allocations: 0.7205 MB / 1.049 GB, free: 6.672 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.3802, allocations: 12.03 kB / 1.049 GB, free: 6.66 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.522e-05/0.3803, allocations: 62.53 kB / 1.049 GB, free: 6.59 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/0.3815, allocations: 183.2 kB / 1.05 GB, free: 6.41 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005429/0.382, allocations: 361.6 kB / 1.05 GB, free: 6.016 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.423e-05/0.3821, allocations: 32.66 kB / 1.05 GB, free: 5.984 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.315e-05/0.3821, allocations: 31.98 kB / 1.05 GB, free: 5.953 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006148/0.3828, allocations: 381 kB / 1.05 GB, free: 5.559 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.3828, allocations: 4 kB / 1.05 GB, free: 5.555 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.993e-05/0.3828, allocations: 8 kB / 1.05 GB, free: 5.547 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.514e-05/0.3829, allocations: 12 kB / 1.05 GB, free: 5.535 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005047/0.3834, allocations: 266 kB / 1.051 GB, free: 5.273 MB / 0.698 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.001775/0.3851, allocations: 1.671 MB / 1.052 GB, free: 3.465 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004024/0.3856, allocations: 222.5 kB / 1.052 GB, free: 3.238 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008136/0.3864, allocations: 0.7039 MB / 1.053 GB, free: 2.387 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.3864, allocations: 38.56 kB / 1.053 GB, free: 2.34 MB / 0.698 GB Notification: Performance of pre-optimization done (n=23): time 1.693e-06/0.3864, allocations: 0 / 1.053 GB, free: 2.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.0008798/0.3873, allocations: 376.6 kB / 1.054 GB, free: 1.969 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/0.3874, allocations: 59.41 kB / 1.054 GB, free: 1.898 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004328/0.3878, allocations: 417.9 kB / 1.054 GB, free: 1.488 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.3878, allocations: 29.7 kB / 1.054 GB, free: 1.453 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.388, allocations: 208.3 kB / 1.054 GB, free: 1.246 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.59e-05/0.3881, allocations: 86.75 kB / 1.054 GB, free: 1.16 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.237e-05/0.3881, allocations: 4 kB / 1.054 GB, free: 1.156 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.3882, allocations: 346.8 kB / 1.055 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001814/0.3884, allocations: 87.95 kB / 1.055 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002072/0.3886, allocations: 123.4 kB / 1.055 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002035/0.3889, allocations: 111.8 kB / 1.055 GB, free: 492 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3889, allocations: 0 / 1.055 GB, free: 492 kB / 0.698 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004974/0.3894, allocations: 286 kB / 1.055 GB, free: 200 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.3894, allocations: 8.031 kB / 1.055 GB, free: 192 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.3894, allocations: 4 kB / 1.055 GB, free: 188 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.3894, allocations: 0 / 1.055 GB, free: 188 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/0.3897, allocations: 59.91 kB / 1.055 GB, free: 128 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.832e-06/0.3897, allocations: 0 / 1.055 GB, free: 128 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002338/0.3899, allocations: 51.58 kB / 1.055 GB, free: 76 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.431e-05/0.39, allocations: 8 kB / 1.055 GB, free: 68 kB / 0.698 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.4315/0.8215, allocations: 160.7 kB / 1.055 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/0.8216, allocations: 40.56 kB / 1.056 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000727/0.8224, allocations: 291.2 kB / 1.056 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.8224, allocations: 7.031 kB / 1.056 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.8224, allocations: 1.156 kB / 1.056 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.8224, allocations: 5.594 kB / 1.056 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00141/0.8238, allocations: 0.8115 MB / 1.057 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.8239, allocations: 4.406 kB / 1.057 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002498/0.8241, allocations: 53.08 kB / 1.057 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.8241, allocations: 3.391 kB / 1.057 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/0.8242, allocations: 8.406 kB / 1.057 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.8242, allocations: 2.5 kB / 1.057 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.8242, allocations: 10.31 kB / 1.057 GB, free: 156 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007744/0.825, allocations: 0.5898 MB / 1.057 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001577/0.8251, allocations: 142.8 kB / 1.057 GB, free: 155.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.874e-05/0.8252, allocations: 8.641 kB / 1.057 GB, free: 155.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002945/0.8255, allocations: 31.84 kB / 1.057 GB, free: 155.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.755e-05/0.8256, allocations: 19.72 kB / 1.057 GB, free: 155.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.065e-05/0.8256, allocations: 15.84 kB / 1.057 GB, free: 155.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002603/0.8259, allocations: 295.2 kB / 1.058 GB, free: 155.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.162e-06/0.8259, allocations: 0 / 1.058 GB, free: 155.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004499/0.8263, allocations: 116.6 kB / 1.058 GB, free: 155.5 MB / 0.698 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.001266/0.8276, allocations: 1.629 MB / 1.059 GB, free: 154.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004471/0.8281, allocations: 215.4 kB / 1.06 GB, free: 154.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.8281, allocations: 3.359 kB / 1.06 GB, free: 154.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002004/0.8283, allocations: 119.8 kB / 1.06 GB, free: 154.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.8293, allocations: 213.5 kB / 1.06 GB, free: 154.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003397/0.8327, allocations: 2.972 MB / 1.063 GB, free: 152.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002838/0.833, allocations: 0.8306 MB / 1.064 GB, free: 152.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003201/0.8333, allocations: 86.78 kB / 1.064 GB, free: 152.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001861/0.8335, allocations: 138 kB / 1.064 GB, free: 152.1 MB / 0.698 GB Notification: Performance of SimCode: time 4.21e-07/0.8335, allocations: 0 / 1.064 GB, free: 152.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02924/0.8628, allocations: 11.41 MB / 1.075 GB, free: 149.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001505/0.863, allocations: 226.9 kB / 1.075 GB, free: 148.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.239/3.102, allocations: 2.953 kB / 1.075 GB, free: 148.9 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_Orifice.fmu > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1)