Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.Orifice") translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.Orifice") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1257/0.1274, allocations: 80.83 MB / 0.6706 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.4168/0.5442, allocations: 173.8 MB / 0.8403 GB, free: 4.734 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.002996/0.5473, allocations: 2.21 MB / 0.8425 GB, free: 2.52 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003431/0.5476, allocations: 15.88 kB / 0.8425 GB, free: 2.504 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0007475/0.5484, allocations: 318 kB / 0.8428 GB, free: 2.191 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001482/0.5499, allocations: 0.7858 MB / 0.8435 GB, free: 1.402 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0018/0.5517, allocations: 0.9014 MB / 0.8444 GB, free: 0.5039 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001314/0.5531, allocations: 1.306 MB / 0.8457 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005507/0.5536, allocations: 412.5 kB / 0.8461 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009918/0.5546, allocations: 0.6382 MB / 0.8467 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005064/0.5551, allocations: 410.4 kB / 0.8471 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.124e-05/0.5552, allocations: 52 kB / 0.8472 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001125/0.5564, allocations: 0.7717 MB / 0.8479 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002059/0.5566, allocations: 231.3 kB / 0.8481 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000325/0.5569, allocations: 330.6 kB / 0.8484 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001236/0.5582, allocations: 1.09 MB / 0.8495 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.5582, allocations: 0 / 0.8495 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5582, allocations: 0 / 0.8495 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.904e-05/0.5582, allocations: 0 / 0.8495 GB, free: 11.28 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001563/0.5598, allocations: 0.9277 MB / 0.8504 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.5598, allocations: 8.031 kB / 0.8504 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001218/0.561, allocations: 179.1 kB / 0.8506 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005917/0.5616, allocations: 433.5 kB / 0.851 GB, free: 9.652 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.5617, allocations: 29 kB / 0.851 GB, free: 9.621 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.223e-05/0.5617, allocations: 48 kB / 0.8511 GB, free: 9.574 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007573/0.5625, allocations: 0.5036 MB / 0.8516 GB, free: 9.055 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.5625, allocations: 0 / 0.8516 GB, free: 9.055 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.692e-05/0.5626, allocations: 16 kB / 0.8516 GB, free: 9.039 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.434e-05/0.5626, allocations: 19.98 kB / 0.8516 GB, free: 9.02 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006598/0.5633, allocations: 384.5 kB / 0.852 GB, free: 8.641 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002258/0.5656, allocations: 1.884 MB / 0.8538 GB, free: 6.602 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004649/0.566, allocations: 242.6 kB / 0.854 GB, free: 6.355 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002162/0.5663, allocations: 116.8 kB / 0.8542 GB, free: 6.238 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007385/0.567, allocations: 0.6921 MB / 0.8548 GB, free: 5.398 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.567, allocations: 38.56 kB / 0.8549 GB, free: 5.352 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=26): time 1.332e-06/0.567, allocations: 0 / 0.8549 GB, free: 5.352 MB / 0.6544 GB Notification: Performance of matching and sorting (n=26): time 0.0008014/0.5679, allocations: 388.6 kB / 0.8552 GB, free: 4.965 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.5679, allocations: 59.41 kB / 0.8553 GB, free: 4.895 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005407/0.5685, allocations: 0.506 MB / 0.8558 GB, free: 4.379 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.822e-05/0.5685, allocations: 37.69 kB / 0.8558 GB, free: 4.336 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.5687, allocations: 264.1 kB / 0.8561 GB, free: 4.074 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.291e-05/0.5687, allocations: 90.66 kB / 0.8562 GB, free: 3.984 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.253e-05/0.5688, allocations: 61.94 kB / 0.8562 GB, free: 3.918 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.569, allocations: 358.8 kB / 0.8566 GB, free: 3.559 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002134/0.5692, allocations: 104.6 kB / 0.8567 GB, free: 3.457 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002401/0.5694, allocations: 166.6 kB / 0.8568 GB, free: 3.273 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004427/0.5699, allocations: 285.1 kB / 0.8571 GB, free: 2.973 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.5699, allocations: 3.938 kB / 0.8571 GB, free: 2.969 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006378/0.5705, allocations: 378.4 kB / 0.8575 GB, free: 2.594 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.5706, allocations: 7.938 kB / 0.8575 GB, free: 2.586 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.5706, allocations: 4 kB / 0.8575 GB, free: 2.582 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.5706, allocations: 7.938 kB / 0.8575 GB, free: 2.574 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000285/0.5709, allocations: 63.91 kB / 0.8575 GB, free: 2.512 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.5709, allocations: 5.938 kB / 0.8576 GB, free: 2.508 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003039/0.5712, allocations: 55.42 kB / 0.8576 GB, free: 2.453 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.5713, allocations: 8 kB / 0.8576 GB, free: 2.445 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001887/0.5715, allocations: 189.9 kB / 0.8578 GB, free: 2.25 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.77e-05/0.5716, allocations: 51.44 kB / 0.8578 GB, free: 2.199 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005763/0.5721, allocations: 327.9 kB / 0.8582 GB, free: 1.875 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.5722, allocations: 0 / 0.8582 GB, free: 1.875 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.5722, allocations: 7.625 kB / 0.8582 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.5722, allocations: 7.969 kB / 0.8582 GB, free: 1.863 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/0.5733, allocations: 0.8776 MB / 0.859 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.5733, allocations: 4 kB / 0.859 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002455/0.5736, allocations: 51.97 kB / 0.8591 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.5736, allocations: 8.188 kB / 0.8591 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.5736, allocations: 11.94 kB / 0.8591 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.5736, allocations: 3.984 kB / 0.8591 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.5736, allocations: 4 kB / 0.8591 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007808/0.5744, allocations: 0.5525 MB / 0.8596 GB, free: 248 kB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002184/0.5747, allocations: 164.5 kB / 0.8598 GB, free: 64 kB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.01e-05/0.5747, allocations: 8 kB / 0.8598 GB, free: 56 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003494/0.5751, allocations: 15.98 kB / 0.8598 GB, free: 40 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.32e-05/0.5752, allocations: 31.91 kB / 0.8599 GB, free: 8 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.443e-05/0.5752, allocations: 16.05 kB / 0.8599 GB, free: 15.99 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0003741/0.5756, allocations: 374.8 kB / 0.8602 GB, free: 15.63 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5756, allocations: 0 / 0.8602 GB, free: 15.63 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004725/0.5761, allocations: 151.9 kB / 0.8604 GB, free: 15.48 MB / 0.67 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 (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003414/0.5764, allocations: 169.9 kB / 0.8605 GB, free: 15.31 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0005089/0.5769, allocations: 271.9 kB / 0.8608 GB, free: 15.04 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.577, allocations: 4 kB / 0.8608 GB, free: 15.04 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002301/0.5772, allocations: 131.8 kB / 0.8609 GB, free: 14.91 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001295/0.5785, allocations: 301.3 kB / 0.8612 GB, free: 14.63 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.58, allocations: 1.052 MB / 0.8622 GB, free: 13.54 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004474/0.5805, allocations: 0.863 MB / 0.8631 GB, free: 12.64 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0003342/0.5808, allocations: 100.5 kB / 0.8632 GB, free: 12.54 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.419e-05/0.5809, allocations: 43.42 kB / 0.8632 GB, free: 12.5 MB / 0.67 GB Notification: Performance of SimCode: time 3.1e-07/0.5809, allocations: 3.938 kB / 0.8632 GB, free: 12.5 MB / 0.67 GB Notification: Performance of Templates: time 0.01527/0.5962, allocations: 10.57 MB / 0.8735 GB, free: 2.059 MB / 0.67 GB make -j1 -f Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.Orifice.makefile (rm -f Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.Orifice.sim & ./Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1)