Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.576/1.576, allocations: 288.2 MB / 303.2 MB, free: 8.168 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.001023/0.001023, allocations: 189 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.45/1.45, allocations: 205.4 MB / 0.6305 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009605/0.0009605, allocations: 94.78 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003855/0.0003856, allocations: 11.16 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.2031, allocations: 115.3 MB / 0.9795 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.6715/0.8746, allocations: 145.2 MB / 1.121 GB, free: 1.289 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.004213/0.8789, allocations: 2.305 MB / 1.123 GB, free: 1.105 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005128/0.8794, allocations: 15.19 kB / 1.123 GB, free: 1.098 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0009417/0.8804, allocations: 232.8 kB / 1.124 GB, free: 1.055 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002515/0.8829, allocations: 0.7495 MB / 1.124 GB, free: 1.012 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002105/0.885, allocations: 0.5617 MB / 1.125 GB, free: 0.9961 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001507/0.8866, allocations: 0.5845 MB / 1.126 GB, free: 0.9688 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005692/0.8871, allocations: 271.5 kB / 1.126 GB, free: 0.9297 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001205/0.8884, allocations: 461.1 kB / 1.126 GB, free: 0.8711 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003168/0.8887, allocations: 215.3 kB / 1.126 GB, free: 0.8242 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 6.092e-05/0.8888, allocations: 19.34 kB / 1.126 GB, free: 0.8242 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001676/0.8904, allocations: 0.49 MB / 1.127 GB, free: 0.8047 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001881/0.8906, allocations: 128.6 kB / 1.127 GB, free: 0.7852 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002135/0.8909, allocations: 111.5 kB / 1.127 GB, free: 16.74 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0009303/0.8918, allocations: 0.515 MB / 1.128 GB, free: 16.69 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.8918, allocations: 0 / 1.128 GB, free: 16.69 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.046e-06/0.8918, allocations: 0 / 1.128 GB, free: 16.69 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.155e-05/0.8918, allocations: 0 / 1.128 GB, free: 16.69 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.001305/0.8932, allocations: 0.7264 MB / 1.128 GB, free: 16.16 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.8932, allocations: 12.03 kB / 1.128 GB, free: 16.16 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.642e-05/0.8933, allocations: 67.3 kB / 1.128 GB, free: 16.12 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00122/0.8945, allocations: 182.3 kB / 1.129 GB, free: 16.09 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005474/0.8951, allocations: 367.5 kB / 1.129 GB, free: 15.84 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.748e-05/0.8951, allocations: 27.19 kB / 1.129 GB, free: 15.84 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.584e-05/0.8952, allocations: 29.69 kB / 1.129 GB, free: 15.84 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006096/0.8958, allocations: 375.2 kB / 1.129 GB, free: 15.73 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.8958, allocations: 3.188 kB / 1.129 GB, free: 15.73 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.887e-05/0.8959, allocations: 12 kB / 1.129 GB, free: 15.73 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.362e-05/0.8959, allocations: 7.781 kB / 1.129 GB, free: 15.73 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004928/0.8964, allocations: 267.8 kB / 1.13 GB, free: 15.73 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.001852/0.8983, allocations: 1.669 MB / 1.131 GB, free: 14.56 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003815/0.8987, allocations: 221.4 kB / 1.132 GB, free: 14.54 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008371/0.8995, allocations: 0.7105 MB / 1.132 GB, free: 13.78 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.788e-05/0.8996, allocations: 37.62 kB / 1.132 GB, free: 13.74 MB / 0.698 GB Notification: Performance of pre-optimization done (n=23): time 1.542e-06/0.8996, allocations: 0 / 1.132 GB, free: 13.74 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.0008763/0.9005, allocations: 376.3 kB / 1.133 GB, free: 13.67 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.9005, allocations: 56.72 kB / 1.133 GB, free: 13.61 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004438/0.901, allocations: 416.8 kB / 1.133 GB, free: 13.49 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.901, allocations: 27.77 kB / 1.133 GB, free: 13.46 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.9011, allocations: 219.8 kB / 1.133 GB, free: 13.36 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.419e-05/0.9012, allocations: 76.11 kB / 1.133 GB, free: 13.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.33e-05/0.9012, allocations: 10.97 kB / 1.133 GB, free: 13.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.9014, allocations: 362.5 kB / 1.134 GB, free: 12.98 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001743/0.9016, allocations: 77.72 kB / 1.134 GB, free: 12.98 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002041/0.9018, allocations: 130.1 kB / 1.134 GB, free: 12.95 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001951/0.902, allocations: 99.45 kB / 1.134 GB, free: 12.94 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.902, allocations: 0 / 1.134 GB, free: 12.94 MB / 0.698 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004845/0.9025, allocations: 292 kB / 1.134 GB, free: 12.88 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.9025, allocations: 6 kB / 1.134 GB, free: 12.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.9025, allocations: 2.156 kB / 1.134 GB, free: 12.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.9025, allocations: 3.25 kB / 1.134 GB, free: 12.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002436/0.9028, allocations: 53.41 kB / 1.134 GB, free: 12.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.9028, allocations: 0.7812 kB / 1.134 GB, free: 12.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002667/0.9031, allocations: 48.66 kB / 1.134 GB, free: 12.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.658e-05/0.9031, allocations: 10.06 kB / 1.134 GB, free: 12.86 MB / 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.0001633/0.9033, allocations: 168.4 kB / 1.135 GB, free: 12.73 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.561e-05/0.9033, allocations: 38.19 kB / 1.135 GB, free: 12.71 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005612/0.9039, allocations: 311.4 kB / 1.135 GB, free: 12.65 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.9039, allocations: 1.25 kB / 1.135 GB, free: 12.65 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.9039, allocations: 3.938 kB / 1.135 GB, free: 12.65 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.904, allocations: 2.156 kB / 1.135 GB, free: 12.65 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001201/0.9052, allocations: 0.8195 MB / 1.136 GB, free: 12.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.9052, allocations: 0 / 1.136 GB, free: 12.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002282/0.9054, allocations: 53.09 kB / 1.136 GB, free: 12.17 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.9054, allocations: 2 kB / 1.136 GB, free: 12.17 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.957e-05/0.9054, allocations: 5.875 kB / 1.136 GB, free: 12.17 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.209e-06/0.9055, allocations: 7.156 kB / 1.136 GB, free: 12.17 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.9055, allocations: 0 / 1.136 GB, free: 12.17 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008135/0.9063, allocations: 0.5947 MB / 1.136 GB, free: 11.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001757/0.9065, allocations: 146 kB / 1.137 GB, free: 11.67 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.797e-05/0.9065, allocations: 5.844 kB / 1.137 GB, free: 11.67 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002902/0.9068, allocations: 31.75 kB / 1.137 GB, free: 11.66 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.592e-05/0.9069, allocations: 16.03 kB / 1.137 GB, free: 11.65 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.9069, allocations: 13.88 kB / 1.137 GB, free: 11.65 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002836/0.9072, allocations: 297.3 kB / 1.137 GB, free: 11.53 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9072, allocations: 4 kB / 1.137 GB, free: 11.53 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004612/0.9077, allocations: 118 kB / 1.137 GB, free: 11.51 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.00157/0.9093, allocations: 1.638 MB / 1.139 GB, free: 10.19 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004629/0.9097, allocations: 205.6 kB / 1.139 GB, free: 10.16 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.9098, allocations: 0 / 1.139 GB, free: 10.16 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002363/0.91, allocations: 126.4 kB / 1.139 GB, free: 10.12 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/0.9111, allocations: 211.4 kB / 1.139 GB, free: 10.05 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004228/0.9153, allocations: 2.972 MB / 1.142 GB, free: 8.297 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004947/0.9158, allocations: 0.8409 MB / 1.143 GB, free: 7.523 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003922/0.9162, allocations: 89.89 kB / 1.143 GB, free: 7.48 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002054/0.9165, allocations: 138.5 kB / 1.143 GB, free: 7.461 MB / 0.698 GB Notification: Performance of SimCode: time 2.424e-06/0.9165, allocations: 0 / 1.143 GB, free: 7.461 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03036/0.9468, allocations: 11.41 MB / 1.154 GB, free: 2.004 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001701/0.947, allocations: 216 kB / 1.154 GB, free: 1.766 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.154/3.101, allocations: 1.375 kB / 1.154 GB, free: 1.766 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_Orifice.fmu > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1)