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.001003/0.001004, allocations: 91.61 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.001239/0.001239, 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.475/1.475, allocations: 223.2 MB / 240 MB, free: 5.359 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.422/2.422, allocations: 390.4 MB / 0.6655 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005356/0.000536, allocations: 12 kB / 0.8149 GB, free: 14.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.803/0.8036, allocations: 142.3 MB / 0.9538 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1815/0.9852, allocations: 158 MB / 1.108 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003842/0.9891, allocations: 2.185 MB / 1.11 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005377/0.9896, allocations: 11.94 kB / 1.11 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0006807/0.9903, allocations: 162.9 kB / 1.11 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001911/0.9922, allocations: 0.6764 MB / 1.111 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00187/0.9941, allocations: 0.6071 MB / 1.112 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001537/0.9957, allocations: 1.143 MB / 1.113 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004482/0.9961, allocations: 249.6 kB / 1.113 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007223/0.9969, allocations: 406.4 kB / 1.113 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003736/0.9973, allocations: 306.7 kB / 1.114 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 4.53e-05/0.9973, allocations: 20 kB / 1.114 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001353/0.9987, allocations: 0.53 MB / 1.114 GB, free: 11.42 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001456/0.9988, allocations: 135.6 kB / 1.114 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.999, allocations: 117.4 kB / 1.114 GB, free: 11.17 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.000762/0.9997, allocations: 0.5457 MB / 1.115 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.9997, allocations: 0 / 1.115 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.453e-06/0.9998, allocations: 4 kB / 1.115 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.9998, allocations: 0 / 1.115 GB, free: 10.62 MB / 0.8731 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.001129/1.001, allocations: 0.7361 MB / 1.116 GB, free: 9.832 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/1.001, allocations: 8.031 kB / 1.116 GB, free: 9.824 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001385/1.001, allocations: 70.47 kB / 1.116 GB, free: 9.746 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001147/1.002, allocations: 179.2 kB / 1.116 GB, free: 9.57 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005216/1.003, allocations: 365.8 kB / 1.116 GB, free: 9.176 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.807e-05/1.003, allocations: 24.66 kB / 1.116 GB, free: 9.152 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.226e-05/1.003, allocations: 35.92 kB / 1.116 GB, free: 9.117 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005988/1.003, allocations: 365.2 kB / 1.117 GB, free: 8.73 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/1.004, allocations: 7.922 kB / 1.117 GB, free: 8.723 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.569e-05/1.004, allocations: 19.98 kB / 1.117 GB, free: 8.703 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.773e-05/1.004, allocations: 12 kB / 1.117 GB, free: 8.691 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004887/1.004, allocations: 262 kB / 1.117 GB, free: 8.438 MB / 0.8731 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.001786/1.006, allocations: 1.675 MB / 1.119 GB, free: 6.625 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003757/1.006, allocations: 206.3 kB / 1.119 GB, free: 6.414 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002162/1.006, allocations: 124.8 kB / 1.119 GB, free: 6.289 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001093/1.008, allocations: 0.8857 MB / 1.12 GB, free: 5.219 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/1.008, allocations: 38.5 kB / 1.12 GB, free: 5.172 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=23): time 1.954e-06/1.008, allocations: 0 / 1.12 GB, free: 5.172 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23): time 0.0008542/1.009, allocations: 371.1 kB / 1.12 GB, free: 4.805 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/1.009, allocations: 55.41 kB / 1.12 GB, free: 4.738 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004386/1.009, allocations: 429.9 kB / 1.121 GB, free: 4.305 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/1.009, allocations: 29.7 kB / 1.121 GB, free: 4.27 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/1.009, allocations: 212.2 kB / 1.121 GB, free: 4.055 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.582e-05/1.009, allocations: 82.75 kB / 1.121 GB, free: 3.973 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.299e-05/1.009, allocations: 4 kB / 1.121 GB, free: 3.969 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001288/1.009, allocations: 350.8 kB / 1.121 GB, free: 3.617 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/1.01, allocations: 87.94 kB / 1.121 GB, free: 3.531 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/1.01, allocations: 125 kB / 1.122 GB, free: 3.398 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000192/1.01, allocations: 105 kB / 1.122 GB, free: 3.297 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/1.01, allocations: 0 / 1.122 GB, free: 3.297 MB / 0.8731 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005098/1.011, allocations: 285.9 kB / 1.122 GB, free: 3.012 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/1.011, allocations: 8 kB / 1.122 GB, free: 3.004 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/1.011, allocations: 0 / 1.122 GB, free: 3.004 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/1.011, allocations: 4.031 kB / 1.122 GB, free: 3 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002298/1.011, allocations: 59.91 kB / 1.122 GB, free: 2.941 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/1.011, allocations: 4 kB / 1.122 GB, free: 2.938 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002489/1.011, allocations: 39.67 kB / 1.122 GB, free: 2.898 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.746e-05/1.011, allocations: 11.95 kB / 1.122 GB, free: 2.887 MB / 0.8731 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.0001856/1.011, allocations: 169.8 kB / 1.122 GB, free: 2.711 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.72e-05/1.011, allocations: 39.53 kB / 1.122 GB, free: 2.672 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000554/1.012, allocations: 293.2 kB / 1.123 GB, free: 2.379 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/1.012, allocations: 7.938 kB / 1.123 GB, free: 2.371 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.012, allocations: 11.88 kB / 1.123 GB, free: 2.359 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/1.012, allocations: 0 / 1.123 GB, free: 2.359 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/1.013, allocations: 0.8162 MB / 1.123 GB, free: 1.469 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/1.013, allocations: 4 kB / 1.123 GB, free: 1.465 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002159/1.013, allocations: 51.91 kB / 1.123 GB, free: 1.414 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/1.013, allocations: 4 kB / 1.123 GB, free: 1.41 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/1.013, allocations: 7.953 kB / 1.123 GB, free: 1.402 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.716e-06/1.013, allocations: 4.188 kB / 1.123 GB, free: 1.398 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/1.013, allocations: 7.938 kB / 1.123 GB, free: 1.391 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007076/1.014, allocations: 0.5223 MB / 1.124 GB, free: 0.8359 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001453/1.014, allocations: 144.6 kB / 1.124 GB, free: 0.6758 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.605e-05/1.014, allocations: 11.95 kB / 1.124 GB, free: 0.6641 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002607/1.015, allocations: 27.89 kB / 1.124 GB, free: 0.6367 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.32e-05/1.015, allocations: 23.91 kB / 1.124 GB, free: 0.6133 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/1.015, allocations: 8 kB / 1.124 GB, free: 0.6055 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002921/1.015, allocations: 303.1 kB / 1.124 GB, free: 320 kB / 0.8731 GB Notification: Performance of sort global known variables: time 1.31e-07/1.015, allocations: 0 / 1.124 GB, free: 320 kB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004521/1.015, allocations: 111.8 kB / 1.125 GB, free: 208 kB / 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.001323/1.017, allocations: 1.138 MB / 1.126 GB, free: 15.03 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004646/1.017, allocations: 225 kB / 1.126 GB, free: 14.81 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.017, allocations: 3.938 kB / 1.126 GB, free: 14.81 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002055/1.018, allocations: 120.2 kB / 1.126 GB, free: 14.69 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/1.019, allocations: 219.2 kB / 1.126 GB, free: 14.48 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003599/1.022, allocations: 2.549 MB / 1.129 GB, free: 11.86 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003651/1.023, allocations: 0.8236 MB / 1.129 GB, free: 11.01 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003312/1.023, allocations: 91.33 kB / 1.13 GB, free: 10.92 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001755/1.023, allocations: 135.4 kB / 1.13 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of SimCode: time 6.11e-07/1.023, allocations: 0 / 1.13 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02654/1.05, allocations: 11.41 MB / 1.141 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002671/1.05, allocations: 215.1 kB / 1.141 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.939/2.989, allocations: 0 / 1.141 GB, free: 15.4 MB / 0.9044 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