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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 103.1 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.001829/0.001829, allocations: 173.3 kB / 15.95 MB, free: 212 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.812/2.812, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 3.08/3.08, allocations: 292.6 MB / 0.5497 GB, free: 14.6 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000897/0.0008972, allocations: 12.91 kB / 0.6737 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4606/0.4615, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 1.415/1.877, allocations: 145.2 MB / 0.929 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006428/1.883, allocations: 2.304 MB / 0.9312 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001118/1.885, allocations: 15.28 kB / 0.9313 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001805/1.886, allocations: 233.4 kB / 0.9315 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004984/1.891, allocations: 0.7454 MB / 0.9322 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003656/1.895, allocations: 0.5673 MB / 0.9328 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003104/1.898, allocations: 0.5801 MB / 0.9333 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009005/1.899, allocations: 268 kB / 0.9336 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002116/1.901, allocations: 460.8 kB / 0.934 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006925/1.902, allocations: 223.4 kB / 0.9342 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.782e-05/1.902, allocations: 17.47 kB / 0.9343 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002805/1.905, allocations: 497.2 kB / 0.9347 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003213/1.905, allocations: 124.5 kB / 0.9348 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006453/1.906, allocations: 112 kB / 0.935 GB, free: 21.42 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00191/1.908, allocations: 0.5209 MB / 0.9355 GB, free: 21.38 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/1.908, allocations: 1.859 kB / 0.9355 GB, free: 21.38 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.268e-06/1.908, allocations: 0 / 0.9355 GB, free: 21.38 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.865e-05/1.908, allocations: 2.531 kB / 0.9355 GB, free: 21.38 MB / 0.7325 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.002335/1.91, allocations: 0.7175 MB / 0.9362 GB, free: 20.84 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 8.569e-05/1.91, allocations: 10.59 kB / 0.9362 GB, free: 20.84 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001741/1.911, allocations: 68.62 kB / 0.9362 GB, free: 20.8 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002595/1.913, allocations: 185 kB / 0.9364 GB, free: 20.78 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/1.915, allocations: 363.7 kB / 0.9368 GB, free: 20.53 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.584e-05/1.915, allocations: 28.77 kB / 0.9368 GB, free: 20.53 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/1.915, allocations: 27.94 kB / 0.9368 GB, free: 20.53 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/1.916, allocations: 375.3 kB / 0.9372 GB, free: 20.43 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.109e-05/1.916, allocations: 3.938 kB / 0.9372 GB, free: 20.43 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.101e-05/1.916, allocations: 13.03 kB / 0.9372 GB, free: 20.43 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-05/1.916, allocations: 10.83 kB / 0.9372 GB, free: 20.43 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001202/1.918, allocations: 270 kB / 0.9375 GB, free: 20.43 MB / 0.7325 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.004472/1.922, allocations: 1.665 MB / 0.9391 GB, free: 19.29 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009201/1.923, allocations: 224.1 kB / 0.9393 GB, free: 19.26 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001518/1.925, allocations: 0.7073 MB / 0.94 GB, free: 18.5 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.604e-05/1.925, allocations: 35.42 kB / 0.94 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=23): time 5.931e-06/1.925, allocations: 3.172 kB / 0.94 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23): time 0.002031/1.927, allocations: 377.2 kB / 0.9404 GB, free: 18.4 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.018e-05/1.927, allocations: 54.81 kB / 0.9404 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001202/1.928, allocations: 422.2 kB / 0.9408 GB, free: 18.22 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.904e-05/1.928, allocations: 30.23 kB / 0.9409 GB, free: 18.19 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003375/1.929, allocations: 215 kB / 0.9411 GB, free: 18.08 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001771/1.929, allocations: 80.58 kB / 0.9412 GB, free: 18.03 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.139e-05/1.929, allocations: 4.406 kB / 0.9412 GB, free: 18.03 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0004866/1.929, allocations: 356.2 kB / 0.9415 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004401/1.93, allocations: 80.28 kB / 0.9416 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005253/1.93, allocations: 131.8 kB / 0.9417 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005949/1.931, allocations: 103 kB / 0.9418 GB, free: 17.67 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/1.931, allocations: 0.8125 kB / 0.9418 GB, free: 17.67 MB / 0.7325 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001653/1.933, allocations: 289 kB / 0.9421 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.359e-05/1.933, allocations: 8.703 kB / 0.9421 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/1.933, allocations: 1.125 kB / 0.9421 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.092e-05/1.933, allocations: 2.406 kB / 0.9421 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005133/1.933, allocations: 54.53 kB / 0.9421 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.74e-05/1.933, allocations: 6.156 kB / 0.9421 GB, free: 17.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006923/1.934, allocations: 47.84 kB / 0.9422 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.966e-05/1.934, allocations: 12.5 kB / 0.9422 GB, free: 17.59 MB / 0.7325 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.0005158/1.935, allocations: 166.4 kB / 0.9424 GB, free: 17.47 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002156/1.935, allocations: 42.7 kB / 0.9424 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001433/1.936, allocations: 303.6 kB / 0.9427 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.96e-05/1.936, allocations: 2.812 kB / 0.9427 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/1.936, allocations: 0 / 0.9427 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/1.936, allocations: 3.172 kB / 0.9427 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002895/1.939, allocations: 0.8184 MB / 0.9435 GB, free: 17.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/1.939, allocations: 1.688 kB / 0.9435 GB, free: 17.03 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004212/1.94, allocations: 50.09 kB / 0.9435 GB, free: 17.03 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.749e-05/1.94, allocations: 5.578 kB / 0.9436 GB, free: 17.03 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.832e-05/1.94, allocations: 6.031 kB / 0.9436 GB, free: 17.03 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.14e-05/1.94, allocations: 3.281 kB / 0.9436 GB, free: 17.03 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.134e-05/1.94, allocations: 2.344 kB / 0.9436 GB, free: 17.03 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001643/1.942, allocations: 0.597 MB / 0.9441 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003868/1.942, allocations: 146.6 kB / 0.9443 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.775e-05/1.942, allocations: 9.516 kB / 0.9443 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005042/1.943, allocations: 24.41 kB / 0.9443 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/1.943, allocations: 27.14 kB / 0.9443 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.046e-05/1.943, allocations: 12.88 kB / 0.9444 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000666/1.943, allocations: 294.1 kB / 0.9446 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.31e-07/1.943, allocations: 0 / 0.9446 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001111/1.945, allocations: 117.9 kB / 0.9448 GB, free: 16.49 MB / 0.7325 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.00431/1.949, allocations: 1.633 MB / 0.9463 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001432/1.95, allocations: 213.7 kB / 0.9465 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/1.95, allocations: 1.75 kB / 0.9466 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000595/1.951, allocations: 119.2 kB / 0.9467 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002598/1.954, allocations: 216.6 kB / 0.9469 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009104/1.963, allocations: 2.969 MB / 0.9498 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009126/1.964, allocations: 0.8366 MB / 0.9506 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008169/1.965, allocations: 84.86 kB / 0.9507 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003264/1.965, allocations: 136 kB / 0.9508 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of SimCode: time 1.953e-06/1.965, allocations: 4 kB / 0.9508 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06549/2.03, allocations: 11.39 MB / 0.9619 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003115/2.031, allocations: 207.2 kB / 0.9621 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.743/5.773, allocations: 0 / 0.9621 GB, free: 11.07 MB / 0.7325 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) Environment - environmentSimulation: