Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_9_Buildings_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.001289/0.001289, allocations: 98.83 kB / 15.05 MB, free: 1.105 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.001373/0.001373, allocations: 177.3 kB / 15.95 MB, free: 216 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.499/1.499, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.406/2.406, allocations: 390.3 MB / 0.6653 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003413/0.0003414, allocations: 12 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6775/0.6779, allocations: 142.3 MB / 0.9536 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1627/0.8407, allocations: 145.2 MB / 1.095 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004028/0.8447, allocations: 2.32 MB / 1.098 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004019/0.8452, allocations: 11.88 kB / 1.098 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007703/0.8459, allocations: 238.9 kB / 1.098 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002126/0.8481, allocations: 0.779 MB / 1.099 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001523/0.8496, allocations: 0.5438 MB / 1.099 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0009743/0.8506, allocations: 0.5817 MB / 1.1 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004221/0.851, allocations: 257.6 kB / 1.1 GB, free: 9.875 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000909/0.852, allocations: 470.6 kB / 1.1 GB, free: 9.414 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002547/0.8522, allocations: 207.1 kB / 1.101 GB, free: 9.211 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.267e-05/0.8523, allocations: 16 kB / 1.101 GB, free: 9.195 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001118/0.8534, allocations: 0.4953 MB / 1.101 GB, free: 8.699 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001439/0.8536, allocations: 123.6 kB / 1.101 GB, free: 8.578 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.954e-05/0.8537, allocations: 109.5 kB / 1.101 GB, free: 8.465 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006668/0.8543, allocations: 0.5145 MB / 1.102 GB, free: 7.949 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.8544, allocations: 0 / 1.102 GB, free: 7.949 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.826e-06/0.8544, allocations: 0 / 1.102 GB, free: 7.949 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.8544, allocations: 3.938 kB / 1.102 GB, free: 7.945 MB / 0.8575 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.001088/0.8555, allocations: 0.7205 MB / 1.103 GB, free: 7.176 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.8555, allocations: 12.03 kB / 1.103 GB, free: 7.164 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.42e-05/0.8556, allocations: 66.53 kB / 1.103 GB, free: 7.09 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001227/0.8568, allocations: 187.2 kB / 1.103 GB, free: 6.906 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006193/0.8575, allocations: 361.7 kB / 1.103 GB, free: 6.516 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.8575, allocations: 20.66 kB / 1.103 GB, free: 6.496 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.501e-05/0.8576, allocations: 36 kB / 1.103 GB, free: 6.461 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006261/0.8582, allocations: 373.1 kB / 1.104 GB, free: 6.066 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.8582, allocations: 0 / 1.104 GB, free: 6.066 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.099e-05/0.8583, allocations: 23.92 kB / 1.104 GB, free: 6.043 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.447e-05/0.8583, allocations: 12 kB / 1.104 GB, free: 6.031 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005141/0.8588, allocations: 266 kB / 1.104 GB, free: 5.773 MB / 0.8575 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.001918/0.8607, allocations: 1.668 MB / 1.105 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004011/0.8612, allocations: 230.2 kB / 1.106 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000818/0.862, allocations: 0.7117 MB / 1.106 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.862, allocations: 30.56 kB / 1.106 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=23): time 1.803e-06/0.862, allocations: 0 / 1.106 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of matching and sorting (n=23): time 0.0008931/0.8629, allocations: 370.5 kB / 1.107 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.863, allocations: 59.41 kB / 1.107 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004717/0.8635, allocations: 417.9 kB / 1.107 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.191e-05/0.8635, allocations: 29.7 kB / 1.107 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001939/0.8637, allocations: 216.2 kB / 1.107 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.727e-05/0.8638, allocations: 78.83 kB / 1.108 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.191e-05/0.8638, allocations: 4 kB / 1.108 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.864, allocations: 354.7 kB / 1.108 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/0.8642, allocations: 83.95 kB / 1.108 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002181/0.8644, allocations: 129 kB / 1.108 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002202/0.8646, allocations: 105 kB / 1.108 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.8646, allocations: 0 / 1.108 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005285/0.8652, allocations: 285.9 kB / 1.108 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.8652, allocations: 7.938 kB / 1.108 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.8652, allocations: 4.031 kB / 1.108 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.8652, allocations: 7.984 kB / 1.108 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002391/0.8655, allocations: 51.98 kB / 1.109 GB, free: 0.6094 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.8655, allocations: 0 / 1.109 GB, free: 0.6094 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002755/0.8658, allocations: 43.66 kB / 1.109 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.624e-05/0.8658, allocations: 11.94 kB / 1.109 GB, free: 0.5547 MB / 0.8575 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.0001726/0.866, allocations: 169.8 kB / 1.109 GB, free: 388 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.921e-05/0.866, allocations: 43.47 kB / 1.109 GB, free: 344 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005615/0.8666, allocations: 307.9 kB / 1.109 GB, free: 32 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.8666, allocations: 8 kB / 1.109 GB, free: 24 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.8666, allocations: 0 / 1.109 GB, free: 24 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.8667, allocations: 0 / 1.109 GB, free: 24 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001253/0.8679, allocations: 0.8166 MB / 1.11 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.371e-06/0.8679, allocations: 3.984 kB / 1.11 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002199/0.8682, allocations: 47.92 kB / 1.11 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.8682, allocations: 4.188 kB / 1.11 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.8682, allocations: 8 kB / 1.11 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.545e-06/0.8682, allocations: 11.94 kB / 1.11 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.8682, allocations: 0 / 1.11 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008111/0.869, allocations: 0.5879 MB / 1.111 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001677/0.8692, allocations: 140.6 kB / 1.111 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.697e-05/0.8693, allocations: 7.953 kB / 1.111 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002948/0.8696, allocations: 35.88 kB / 1.111 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.019e-05/0.8696, allocations: 15.98 kB / 1.111 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.8697, allocations: 15.92 kB / 1.111 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003003/0.87, allocations: 295.1 kB / 1.111 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.87, allocations: 0 / 1.111 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004427/0.8704, allocations: 123.8 kB / 1.111 GB, free: 13.76 MB / 0.8731 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.001484/0.8719, allocations: 1.626 MB / 1.113 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004557/0.8724, allocations: 213.2 kB / 1.113 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.8724, allocations: 0 / 1.113 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002184/0.8726, allocations: 121.9 kB / 1.113 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.8736, allocations: 211.3 kB / 1.113 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003748/0.8774, allocations: 2.983 MB / 1.116 GB, free: 8.488 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.8778, allocations: 0.8392 MB / 1.117 GB, free: 7.625 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002881/0.8781, allocations: 87.34 kB / 1.117 GB, free: 7.539 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001724/0.8782, allocations: 135.4 kB / 1.117 GB, free: 7.41 MB / 0.8731 GB Notification: Performance of SimCode: time 3.91e-07/0.8782, allocations: 0 / 1.117 GB, free: 7.41 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02635/0.9046, allocations: 11.4 MB / 1.128 GB, free: 12.26 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000232/0.9049, allocations: 210.3 kB / 1.129 GB, free: 12.02 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.94/2.845, allocations: 0 / 1.129 GB, free: 12.02 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_Orifice.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice_res.mat does not exist to compare? outputFormat=mat