Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_latest_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.001486/0.001486, allocations: 99.62 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.001584/0.001584, 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 2.477/2.477, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.418/4.418, allocations: 409.2 MB / 0.6838 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007199/0.0007204, allocations: 8 kB / 0.8375 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.635/1.636, allocations: 146.8 MB / 0.9809 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.2996/1.936, allocations: 145.2 MB / 1.123 GB, free: 4.676 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.007919/1.944, allocations: 2.317 MB / 1.125 GB, free: 2.355 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001141/1.945, allocations: 7.938 kB / 1.125 GB, free: 2.348 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0016/1.947, allocations: 234.9 kB / 1.125 GB, free: 2.117 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004584/1.951, allocations: 0.7829 MB / 1.126 GB, free: 1.332 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002828/1.954, allocations: 0.5385 MB / 1.126 GB, free: 0.8008 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002216/1.956, allocations: 0.5856 MB / 1.127 GB, free: 220 kB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007952/1.957, allocations: 261.6 kB / 1.127 GB, free: 15.95 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001748/1.959, allocations: 470.5 kB / 1.128 GB, free: 15.49 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000475/1.959, allocations: 219.1 kB / 1.128 GB, free: 15.28 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.725e-05/1.96, allocations: 16 kB / 1.128 GB, free: 15.26 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002222/1.962, allocations: 495.2 kB / 1.128 GB, free: 14.78 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003112/1.962, allocations: 123.6 kB / 1.129 GB, free: 14.66 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002059/1.962, allocations: 113.5 kB / 1.129 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001165/1.963, allocations: 0.5144 MB / 1.129 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/1.963, allocations: 4 kB / 1.129 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.665e-06/1.964, allocations: 0 / 1.129 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.021e-05/1.964, allocations: 0 / 1.129 GB, free: 14.02 MB / 0.8887 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.002103/1.966, allocations: 0.7128 MB / 1.13 GB, free: 13.26 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001003/1.966, allocations: 15.97 kB / 1.13 GB, free: 13.24 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001496/1.966, allocations: 62.53 kB / 1.13 GB, free: 13.17 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002204/1.968, allocations: 179.3 kB / 1.13 GB, free: 13 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001229/1.969, allocations: 361.7 kB / 1.13 GB, free: 12.6 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.363e-05/1.969, allocations: 28.64 kB / 1.13 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.848e-05/1.97, allocations: 28 kB / 1.13 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/1.971, allocations: 381 kB / 1.131 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.787e-05/1.971, allocations: 0 / 1.131 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.048e-05/1.971, allocations: 16 kB / 1.131 GB, free: 12.13 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.212e-05/1.971, allocations: 19.94 kB / 1.131 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008613/1.972, allocations: 262 kB / 1.131 GB, free: 11.86 MB / 0.8887 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.003914/1.976, allocations: 1.671 MB / 1.133 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000723/1.976, allocations: 218.5 kB / 1.133 GB, free: 9.828 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001572/1.978, allocations: 0.7078 MB / 1.134 GB, free: 8.973 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.789e-05/1.978, allocations: 34.56 kB / 1.134 GB, free: 8.93 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=23): time 3.958e-06/1.978, allocations: 0 / 1.134 GB, free: 8.93 MB / 0.8887 GB Notification: Performance of matching and sorting (n=23): time 0.001745/1.98, allocations: 375 kB / 1.134 GB, free: 8.559 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.41e-05/1.98, allocations: 55.41 kB / 1.134 GB, free: 8.492 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009133/1.981, allocations: 421.9 kB / 1.135 GB, free: 8.078 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 8.155e-05/1.981, allocations: 33.7 kB / 1.135 GB, free: 8.039 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003672/1.981, allocations: 208.2 kB / 1.135 GB, free: 7.828 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002081/1.982, allocations: 86.8 kB / 1.135 GB, free: 7.742 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.044e-05/1.982, allocations: 4 kB / 1.135 GB, free: 7.738 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000342/1.982, allocations: 346.8 kB / 1.135 GB, free: 7.391 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000323/1.982, allocations: 91.94 kB / 1.135 GB, free: 7.301 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003583/1.983, allocations: 123.4 kB / 1.135 GB, free: 7.168 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003846/1.983, allocations: 112.7 kB / 1.135 GB, free: 7.059 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/1.983, allocations: 3.938 kB / 1.135 GB, free: 7.055 MB / 0.8887 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008675/1.984, allocations: 288.4 kB / 1.136 GB, free: 6.77 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/1.984, allocations: 4 kB / 1.136 GB, free: 6.766 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/1.984, allocations: 4 kB / 1.136 GB, free: 6.762 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.668e-05/1.984, allocations: 4.031 kB / 1.136 GB, free: 6.758 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003971/1.984, allocations: 59.86 kB / 1.136 GB, free: 6.699 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/1.984, allocations: 0 / 1.136 GB, free: 6.699 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004552/1.985, allocations: 39.67 kB / 1.136 GB, free: 6.66 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.32e-05/1.985, allocations: 8 kB / 1.136 GB, free: 6.652 MB / 0.8887 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.0003265/1.985, allocations: 173.7 kB / 1.136 GB, free: 6.473 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/1.985, allocations: 47.44 kB / 1.136 GB, free: 6.426 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000931/1.986, allocations: 294.8 kB / 1.136 GB, free: 6.129 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/1.986, allocations: 8 kB / 1.136 GB, free: 6.121 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/1.986, allocations: 3.953 kB / 1.136 GB, free: 6.117 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.854e-06/1.986, allocations: 0 / 1.136 GB, free: 6.117 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002062/1.989, allocations: 0.8126 MB / 1.137 GB, free: 5.23 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.426e-05/1.989, allocations: 3.953 kB / 1.137 GB, free: 5.227 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003356/1.989, allocations: 47.91 kB / 1.137 GB, free: 5.18 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.421e-05/1.989, allocations: 4 kB / 1.137 GB, free: 5.176 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.293e-05/1.989, allocations: 12.12 kB / 1.137 GB, free: 5.164 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/1.989, allocations: 8 kB / 1.137 GB, free: 5.156 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.989, allocations: 0 / 1.137 GB, free: 5.156 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001312/1.99, allocations: 0.5879 MB / 1.138 GB, free: 4.496 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002606/1.991, allocations: 144.5 kB / 1.138 GB, free: 4.336 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.373e-05/1.991, allocations: 8 kB / 1.138 GB, free: 4.328 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004313/1.991, allocations: 27.98 kB / 1.138 GB, free: 4.301 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.92e-05/1.991, allocations: 19.91 kB / 1.138 GB, free: 4.281 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.14e-05/1.991, allocations: 12 kB / 1.138 GB, free: 4.27 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004791/1.992, allocations: 295.1 kB / 1.138 GB, free: 3.988 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.7e-07/1.992, allocations: 0 / 1.138 GB, free: 3.988 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.000767/1.993, allocations: 127.8 kB / 1.138 GB, free: 3.863 MB / 0.8887 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.002826/1.995, allocations: 1.635 MB / 1.14 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0008374/1.996, allocations: 223.6 kB / 1.14 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/1.996, allocations: 0 / 1.14 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0003283/1.997, allocations: 116.3 kB / 1.14 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001677/1.998, allocations: 216 kB / 1.141 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006409/2.005, allocations: 2.967 MB / 1.143 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007139/2.006, allocations: 0.8353 MB / 1.144 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0005943/2.006, allocations: 79.36 kB / 1.144 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003022/2.006, allocations: 139.4 kB / 1.144 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of SimCode: time 2.946e-06/2.006, allocations: 0 / 1.144 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04852/2.055, allocations: 11.38 MB / 1.156 GB, free: 2.379 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000751/2.056, allocations: 234 kB / 1.156 GB, free: 2.121 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.385/5.441, allocations: 0 / 1.156 GB, free: 2.121 MB / 0.9044 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_Orifice.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice_res.mat does not exist to compare? outputFormat=mat