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.1854/0.1875, allocations: 80.83 MB / 0.6706 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.7019/0.8894, allocations: 173.8 MB / 0.8403 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006288/0.8957, allocations: 2.221 MB / 0.8425 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006413/0.8964, allocations: 15.62 kB / 0.8425 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001471/0.898, allocations: 318.7 kB / 0.8428 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002797/0.9008, allocations: 0.7843 MB / 0.8436 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002358/0.9031, allocations: 0.8945 MB / 0.8444 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001681/0.9048, allocations: 1.298 MB / 0.8457 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007322/0.9056, allocations: 418.7 kB / 0.8461 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001382/0.907, allocations: 0.6495 MB / 0.8467 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007051/0.9077, allocations: 413.8 kB / 0.8471 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001201/0.9078, allocations: 52.34 kB / 0.8472 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001469/0.9093, allocations: 0.7686 MB / 0.8479 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002532/0.9096, allocations: 226.7 kB / 0.8481 GB, free: 360 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004154/0.91, allocations: 335.2 kB / 0.8485 GB, free: 152 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001479/0.9115, allocations: 1.084 MB / 0.8495 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.9115, allocations: 0 / 0.8495 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.433e-06/0.9115, allocations: 0 / 0.8495 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.269e-05/0.9115, allocations: 0 / 0.8495 GB, free: 15.47 MB / 0.6231 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.001831/0.9134, allocations: 0.9304 MB / 0.8504 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.9134, allocations: 9.781 kB / 0.8504 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001207/0.9146, allocations: 179.9 kB / 0.8506 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007137/0.9153, allocations: 427.9 kB / 0.851 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.366e-05/0.9154, allocations: 35.34 kB / 0.8511 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.458e-05/0.9155, allocations: 47.31 kB / 0.8511 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008552/0.9163, allocations: 0.4938 MB / 0.8516 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.9163, allocations: 2.719 kB / 0.8516 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.983e-05/0.9164, allocations: 21.03 kB / 0.8516 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.553e-05/0.9164, allocations: 16.08 kB / 0.8516 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006855/0.9171, allocations: 383.8 kB / 0.852 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002427/0.9196, allocations: 1.887 MB / 0.8538 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000469/0.92, allocations: 240 kB / 0.8541 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002141/0.9203, allocations: 116 kB / 0.8542 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007746/0.9211, allocations: 0.6932 MB / 0.8548 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.9211, allocations: 41.25 kB / 0.8549 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=26): time 1.382e-06/0.9211, allocations: 0 / 0.8549 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of matching and sorting (n=26): time 0.0007818/0.9219, allocations: 378.5 kB / 0.8552 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.928e-05/0.922, allocations: 57.94 kB / 0.8553 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005151/0.9225, allocations: 0.5132 MB / 0.8558 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.383e-05/0.9225, allocations: 32.27 kB / 0.8558 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/0.9227, allocations: 267.8 kB / 0.8561 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.701e-05/0.9228, allocations: 88.78 kB / 0.8562 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.9229, allocations: 67.09 kB / 0.8562 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.9231, allocations: 363.6 kB / 0.8566 GB, free: 9.723 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/0.9233, allocations: 109.7 kB / 0.8567 GB, free: 9.668 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002437/0.9235, allocations: 165.4 kB / 0.8568 GB, free: 9.547 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00047/0.924, allocations: 281.5 kB / 0.8571 GB, free: 9.367 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.924, allocations: 2.688 kB / 0.8571 GB, free: 9.367 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006042/0.9246, allocations: 367.6 kB / 0.8575 GB, free: 9.18 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.9247, allocations: 11.08 kB / 0.8575 GB, free: 9.176 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.9247, allocations: 3.031 kB / 0.8575 GB, free: 9.176 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.9247, allocations: 6.656 kB / 0.8575 GB, free: 9.172 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002827/0.925, allocations: 70.72 kB / 0.8576 GB, free: 9.156 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.925, allocations: 6.656 kB / 0.8576 GB, free: 9.152 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002884/0.9253, allocations: 51.39 kB / 0.8576 GB, free: 9.117 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/0.9253, allocations: 14.09 kB / 0.8576 GB, free: 9.113 MB / 0.6231 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.0001911/0.9255, allocations: 184.1 kB / 0.8578 GB, free: 8.953 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.296e-05/0.9256, allocations: 51.75 kB / 0.8578 GB, free: 8.93 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005964/0.9262, allocations: 324.8 kB / 0.8582 GB, free: 8.738 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.9262, allocations: 2.906 kB / 0.8582 GB, free: 8.738 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.9263, allocations: 0 / 0.8582 GB, free: 8.738 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.9263, allocations: 2.812 kB / 0.8582 GB, free: 8.738 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001266/0.9275, allocations: 0.8872 MB / 0.859 GB, free: 8.039 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.9275, allocations: 0 / 0.859 GB, free: 8.039 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002458/0.9278, allocations: 52.03 kB / 0.8591 GB, free: 8.027 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.9278, allocations: 9.469 kB / 0.8591 GB, free: 8.023 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.9278, allocations: 6.719 kB / 0.8591 GB, free: 8.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.9278, allocations: 2.094 kB / 0.8591 GB, free: 8.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.9279, allocations: 2.812 kB / 0.8591 GB, free: 8.02 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008627/0.9287, allocations: 0.5548 MB / 0.8596 GB, free: 7.637 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002399/0.929, allocations: 166.8 kB / 0.8598 GB, free: 7.484 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.204e-05/0.929, allocations: 6.516 kB / 0.8598 GB, free: 7.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003466/0.9294, allocations: 18.27 kB / 0.8598 GB, free: 7.473 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.604e-05/0.9295, allocations: 25.58 kB / 0.8598 GB, free: 7.457 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.893e-05/0.9295, allocations: 24.8 kB / 0.8599 GB, free: 7.445 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003976/0.9299, allocations: 372.6 kB / 0.8602 GB, free: 7.227 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9299, allocations: 3.938 kB / 0.8602 GB, free: 7.223 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005346/0.9305, allocations: 161.3 kB / 0.8604 GB, free: 7.156 MB / 0.6231 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.0004147/0.9309, allocations: 183.7 kB / 0.8606 GB, free: 6.977 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005419/0.9314, allocations: 267.7 kB / 0.8608 GB, free: 6.715 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.9315, allocations: 0 / 0.8608 GB, free: 6.715 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00024/0.9317, allocations: 123.8 kB / 0.8609 GB, free: 6.594 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001375/0.9331, allocations: 302.2 kB / 0.8612 GB, free: 6.305 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/0.9349, allocations: 1.053 MB / 0.8622 GB, free: 5.207 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004109/0.9353, allocations: 0.8513 MB / 0.8631 GB, free: 4.328 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003415/0.9356, allocations: 108.5 kB / 0.8632 GB, free: 4.219 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.682e-05/0.9357, allocations: 43.44 kB / 0.8632 GB, free: 4.176 MB / 0.6231 GB Notification: Performance of SimCode: time 6.82e-07/0.9358, allocations: 0 / 0.8632 GB, free: 4.176 MB / 0.6231 GB Notification: Performance of Templates: time 0.01709/0.9529, allocations: 10.73 MB / 0.8737 GB, free: 9.574 MB / 0.6387 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)