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: translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice") translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.009865/0.009865, allocations: 170.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.353/1.353, allocations: 205.4 MB / 222.5 MB, free: 5.789 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 1.75/1.75, allocations: 292.7 MB / 0.5502 GB, free: 14.5 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.0005171/0.0005172, allocations: 11.28 kB / 0.6743 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2287, allocations: 116.3 MB / 0.7879 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.6646/0.8933, allocations: 169.3 MB / 0.9532 GB, free: 436 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004038/0.8974, allocations: 2.285 MB / 0.9554 GB, free: 216 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005047/0.8979, allocations: 18.69 kB / 0.9554 GB, free: 204 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007757/0.8987, allocations: 184.2 kB / 0.9556 GB, free: 144 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002314/0.901, allocations: 0.8607 MB / 0.9565 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002234/0.9033, allocations: 0.774 MB / 0.9572 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001778/0.9051, allocations: 1.34 MB / 0.9585 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005121/0.9056, allocations: 274.7 kB / 0.9588 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008795/0.9065, allocations: 421.4 kB / 0.9592 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004691/0.907, allocations: 316.9 kB / 0.9595 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.048e-05/0.907, allocations: 19.69 kB / 0.9595 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002433/0.9095, allocations: 1.158 MB / 0.9606 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002288/0.9097, allocations: 136 kB / 0.9608 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003621/0.9101, allocations: 251.8 kB / 0.961 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002002/0.9121, allocations: 0.9434 MB / 0.9619 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.9121, allocations: 5.062 kB / 0.9619 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.065e-06/0.9121, allocations: 0 / 0.9619 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.617e-06/0.9122, allocations: 0 / 0.9619 GB, free: 15.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.001329/0.9135, allocations: 0.7334 MB / 0.9627 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.9135, allocations: 10.64 kB / 0.9627 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001241/0.9148, allocations: 179.2 kB / 0.9628 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005418/0.9153, allocations: 375.4 kB / 0.9632 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.9154, allocations: 21 kB / 0.9632 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.443e-05/0.9154, allocations: 30.91 kB / 0.9632 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007054/0.9161, allocations: 378.7 kB / 0.9636 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.9162, allocations: 1.312 kB / 0.9636 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.691e-05/0.9162, allocations: 10.09 kB / 0.9636 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.46e-05/0.9163, allocations: 17.03 kB / 0.9636 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005975/0.9169, allocations: 274 kB / 0.9639 GB, free: 14.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.002087/0.919, allocations: 1.676 MB / 0.9655 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004269/0.9194, allocations: 216.1 kB / 0.9657 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002399/0.9197, allocations: 125.1 kB / 0.9659 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00112/0.9208, allocations: 0.8854 MB / 0.9667 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.9208, allocations: 36.12 kB / 0.9668 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=23): time 1.703e-06/0.9208, allocations: 0 / 0.9668 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23): time 0.0009643/0.9218, allocations: 376.8 kB / 0.9671 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.9219, allocations: 53.56 kB / 0.9672 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000486/0.9223, allocations: 420.4 kB / 0.9676 GB, free: 12 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.751e-05/0.9224, allocations: 30.64 kB / 0.9676 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.9226, allocations: 221.1 kB / 0.9678 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.263e-05/0.9226, allocations: 86.03 kB / 0.9679 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.206e-05/0.9227, allocations: 26.84 kB / 0.9679 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.9228, allocations: 355.2 kB / 0.9683 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002185/0.923, allocations: 84.55 kB / 0.9683 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002361/0.9233, allocations: 132.4 kB / 0.9685 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004288/0.9237, allocations: 213.9 kB / 0.9687 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.9237, allocations: 5.125 kB / 0.9687 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005867/0.9243, allocations: 288.8 kB / 0.9689 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.9244, allocations: 7.656 kB / 0.9689 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.9244, allocations: 1.031 kB / 0.969 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.9244, allocations: 2.125 kB / 0.969 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002496/0.9247, allocations: 61.08 kB / 0.969 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.9247, allocations: 2.375 kB / 0.969 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003099/0.925, allocations: 40.78 kB / 0.9691 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.086e-05/0.925, allocations: 11.28 kB / 0.9691 GB, free: 11.3 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001774/0.9252, allocations: 169.9 kB / 0.9692 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.793e-05/0.9253, allocations: 44.5 kB / 0.9693 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006097/0.9259, allocations: 293.4 kB / 0.9695 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.9259, allocations: 2.219 kB / 0.9695 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.926, allocations: 6.906 kB / 0.9696 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.926, allocations: 3.984 kB / 0.9696 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001344/0.9273, allocations: 0.8197 MB / 0.9704 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.9273, allocations: 1.125 kB / 0.9704 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000228/0.9276, allocations: 52.75 kB / 0.9704 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.9276, allocations: 2.094 kB / 0.9704 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.35e-05/0.9276, allocations: 4.406 kB / 0.9704 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.163e-06/0.9276, allocations: 11.53 kB / 0.9704 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.9276, allocations: 2.156 kB / 0.9704 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007841/0.9284, allocations: 0.5295 MB / 0.9709 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001629/0.9286, allocations: 144.1 kB / 0.9711 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.436e-05/0.9287, allocations: 6.5 kB / 0.9711 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002905/0.929, allocations: 33.47 kB / 0.9711 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.272e-05/0.929, allocations: 18.48 kB / 0.9711 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.929, allocations: 6.875 kB / 0.9711 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003216/0.9294, allocations: 301.9 kB / 0.9714 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9294, allocations: 5.969 kB / 0.9714 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000501/0.9299, allocations: 122.2 kB / 0.9716 GB, free: 10.28 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 (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.0004334/0.9303, allocations: 195.3 kB / 0.9717 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004996/0.9308, allocations: 213.8 kB / 0.9719 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.9309, allocations: 0 / 0.9719 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002395/0.9311, allocations: 120.9 kB / 0.9721 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.9323, allocations: 212.7 kB / 0.9723 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001776/0.9341, allocations: 1.106 MB / 0.9733 GB, free: 9.355 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004/0.9345, allocations: 0.8264 MB / 0.9742 GB, free: 8.602 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003725/0.9349, allocations: 86.66 kB / 0.9742 GB, free: 8.562 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.9351, allocations: 35.73 kB / 0.9743 GB, free: 8.551 MB / 0.7325 GB Notification: Performance of SimCode: time 4.41e-07/0.9351, allocations: 0 / 0.9743 GB, free: 8.551 MB / 0.7325 GB Notification: Performance of Templates: time 0.01447/0.9495, allocations: 7.645 MB / 0.9817 GB, free: 4.832 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.makefile Environment - environmentSimulation: (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 & ./Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) Environment - environmentSimulation: