Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.806/1.806, allocations: 292.6 MB / 307.5 MB, free: 5.234 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002013/0.002013, allocations: 185 kB / 377.1 MB, free: 1.543 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.084/2.084, allocations: 205.4 MB / 0.6366 GB, free: 8.652 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009326/0.0009326, allocations: 97.3 kB / 0.7509 GB, free: 63.05 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005077/0.0005083, allocations: 8 kB / 0.8748 GB, free: 11.15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3363, allocations: 116.3 MB / 0.9884 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.104/6.44, allocations: 2.066 GB / 3.054 GB, free: 116.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/6.44, allocations: 90.66 kB / 3.054 GB, free: 116.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.492/7.932, allocations: 355 MB / 3.401 GB, free: 139 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.575e-06/7.932, allocations: 0 / 3.401 GB, free: 139 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.85e-05/7.932, allocations: 12 kB / 3.401 GB, free: 139 MB / 0.948 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.00244/7.934, allocations: 0.8486 MB / 3.402 GB, free: 138.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 9.283e-05/7.935, allocations: 8.031 kB / 3.402 GB, free: 138.1 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000117/7.935, allocations: 70.53 kB / 3.402 GB, free: 138 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001497/7.936, allocations: 171.2 kB / 3.402 GB, free: 137.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008196/7.937, allocations: 385.6 kB / 3.402 GB, free: 137.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.694e-05/7.937, allocations: 24.66 kB / 3.402 GB, free: 137.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.295e-05/7.937, allocations: 35.91 kB / 3.402 GB, free: 137.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000696/7.938, allocations: 375.4 kB / 3.403 GB, free: 137 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/7.938, allocations: 0 / 3.403 GB, free: 137 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.919e-05/7.938, allocations: 12 kB / 3.403 GB, free: 137 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.359e-05/7.938, allocations: 10.41 kB / 3.403 GB, free: 137 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000476/7.938, allocations: 269.8 kB / 3.403 GB, free: 136.7 MB / 0.948 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.001838/7.94, allocations: 1.768 MB / 3.405 GB, free: 134.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003695/7.941, allocations: 197.8 kB / 3.405 GB, free: 134.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008561/7.942, allocations: 0.8701 MB / 3.406 GB, free: 133.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/7.942, allocations: 34.5 kB / 3.406 GB, free: 133.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=23): time 1.873e-06/7.942, allocations: 0 / 3.406 GB, free: 133.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=23): time 0.0009832/7.943, allocations: 358.8 kB / 3.406 GB, free: 133.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/7.943, allocations: 59.36 kB / 3.406 GB, free: 133.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003846/7.943, allocations: 369.1 kB / 3.407 GB, free: 132.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/7.943, allocations: 33.7 kB / 3.407 GB, free: 132.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/7.943, allocations: 216.6 kB / 3.407 GB, free: 132.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.86e-05/7.943, allocations: 82.84 kB / 3.407 GB, free: 132.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.039e-05/7.943, allocations: 4 kB / 3.407 GB, free: 132.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001097/7.943, allocations: 354.8 kB / 3.407 GB, free: 132 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/7.944, allocations: 84.42 kB / 3.407 GB, free: 131.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000196/7.944, allocations: 130.2 kB / 3.408 GB, free: 131.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/7.944, allocations: 95.53 kB / 3.408 GB, free: 131.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/7.944, allocations: 4 kB / 3.408 GB, free: 131.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000437/7.944, allocations: 283.7 kB / 3.408 GB, free: 131.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/7.944, allocations: 8.031 kB / 3.408 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/7.944, allocations: 4 kB / 3.408 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/7.944, allocations: 0 / 3.408 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002407/7.945, allocations: 59.91 kB / 3.408 GB, free: 131.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/7.945, allocations: 0 / 3.408 GB, free: 131.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003429/7.945, allocations: 55.61 kB / 3.408 GB, free: 131.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.951e-05/7.945, allocations: 8 kB / 3.408 GB, free: 131.3 MB / 0.948 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.0001751/7.945, allocations: 161.9 kB / 3.408 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.001e-05/7.945, allocations: 43.47 kB / 3.408 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006087/7.946, allocations: 297.3 kB / 3.408 GB, free: 130.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/7.946, allocations: 4 kB / 3.408 GB, free: 130.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/7.946, allocations: 0 / 3.408 GB, free: 130.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/7.946, allocations: 0 / 3.408 GB, free: 130.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/7.947, allocations: 0.7997 MB / 3.409 GB, free: 129.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/7.947, allocations: 3.984 kB / 3.409 GB, free: 129.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002393/7.947, allocations: 44.17 kB / 3.409 GB, free: 129.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/7.947, allocations: 8 kB / 3.409 GB, free: 129.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/7.947, allocations: 11.95 kB / 3.409 GB, free: 129.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/7.947, allocations: 11.92 kB / 3.409 GB, free: 129.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/7.947, allocations: 4 kB / 3.409 GB, free: 129.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007014/7.948, allocations: 0.5678 MB / 3.41 GB, free: 129.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000161/7.948, allocations: 140.5 kB / 3.41 GB, free: 129 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.448e-05/7.948, allocations: 15.94 kB / 3.41 GB, free: 129 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000299/7.949, allocations: 39.77 kB / 3.41 GB, free: 128.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.41e-05/7.949, allocations: 15.97 kB / 3.41 GB, free: 128.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/7.949, allocations: 12.23 kB / 3.41 GB, free: 128.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002749/7.949, allocations: 295.1 kB / 3.41 GB, free: 128.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.31e-07/7.949, allocations: 0 / 3.41 GB, free: 128.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0009173/7.95, allocations: 227.9 kB / 3.411 GB, free: 128.4 MB / 0.948 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.002747/7.953, allocations: 2.635 MB / 3.413 GB, free: 125.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0005168/7.953, allocations: 207.8 kB / 3.413 GB, free: 125.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/7.953, allocations: 4.062 kB / 3.413 GB, free: 125.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002086/7.954, allocations: 113.7 kB / 3.414 GB, free: 125.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009755/7.955, allocations: 213.5 kB / 3.414 GB, free: 125.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003606/7.958, allocations: 2.977 MB / 3.417 GB, free: 122.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/7.958, allocations: 0.8314 MB / 3.417 GB, free: 121.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.000356/7.959, allocations: 79.34 kB / 3.418 GB, free: 121.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001702/7.959, allocations: 131.4 kB / 3.418 GB, free: 121 MB / 0.948 GB Notification: Performance of SimCode: time 7.995e-06/7.959, allocations: 0 / 3.418 GB, free: 121 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05105/8.01, allocations: 29.82 MB / 3.447 GB, free: 91.37 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000179/8.01, allocations: 208.5 kB / 3.447 GB, free: 91.12 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.227/11.24, allocations: 0 / 3.447 GB, free: 91.12 MB / 0.948 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_Examples_Orifice.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1)