Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.TrickleVent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.TrickleVent,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_TrickleVent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.TrickleVent,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_TrickleVent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.115/2.115, allocations: 390.3 MB / 405.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 188.7 kB / 498.1 MB, free: 5.742 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 223.2 MB / 0.7948 GB, free: 17.92 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 99.81 kB / 0.9346 GB, free: 6.254 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003623/0.0003626, allocations: 12.31 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2515, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.276/4.528, allocations: 1.959 GB / 3.182 GB, free: 28.37 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003134/4.528, allocations: 93.14 kB / 3.182 GB, free: 28.32 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.599/7.127, allocations: 0.5769 GB / 3.759 GB, free: 291.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.916e-06/7.127, allocations: 0 / 3.759 GB, free: 291.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000381/7.127, allocations: 67.28 kB / 3.759 GB, free: 291.8 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 441 * Number of variables: 441 Notification: Performance of Generate backend data structure: time 0.009788/7.137, allocations: 2.675 MB / 3.762 GB, free: 290.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.225e-05/7.137, allocations: 8.469 kB / 3.762 GB, free: 290.7 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001105/7.138, allocations: 254.1 kB / 3.762 GB, free: 290.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004569/7.143, allocations: 0.553 MB / 3.762 GB, free: 290.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005695/7.149, allocations: 1.928 MB / 3.764 GB, free: 290.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001764/7.149, allocations: 130.4 kB / 3.765 GB, free: 290.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007113/7.15, allocations: 171.2 kB / 3.765 GB, free: 290.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005952/7.156, allocations: 1.964 MB / 3.767 GB, free: 289.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.053e-05/7.156, allocations: 11.31 kB / 3.767 GB, free: 289.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004608/7.156, allocations: 73.22 kB / 3.767 GB, free: 289.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.771e-05/7.156, allocations: 63.53 kB / 3.767 GB, free: 289.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005236/7.161, allocations: 2.014 MB / 3.769 GB, free: 289.9 MB / 1.167 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.01808/7.18, allocations: 7.725 MB / 3.776 GB, free: 287.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002913/7.182, allocations: 1.605 MB / 3.778 GB, free: 286.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008059/7.183, allocations: 0.6454 MB / 3.778 GB, free: 286.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001748/7.185, allocations: 0.9122 MB / 3.779 GB, free: 286.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=142): time 7.444e-06/7.185, allocations: 2.375 kB / 3.779 GB, free: 286.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=142): time 0.006455/7.192, allocations: 2.562 MB / 3.782 GB, free: 285.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/7.192, allocations: 277.3 kB / 3.782 GB, free: 285.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004018/7.196, allocations: 1.945 MB / 3.784 GB, free: 285.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002612/7.196, allocations: 57.7 kB / 3.784 GB, free: 285.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001154/7.197, allocations: 0.8588 MB / 3.785 GB, free: 284.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005918/7.198, allocations: 478 kB / 3.785 GB, free: 284.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/7.198, allocations: 34.16 kB / 3.785 GB, free: 284.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001555/7.198, allocations: 354 kB / 3.786 GB, free: 284.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001138/7.199, allocations: 0.5378 MB / 3.786 GB, free: 284.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001303/7.201, allocations: 0.7259 MB / 3.787 GB, free: 284.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001373/7.202, allocations: 0.63 MB / 3.788 GB, free: 284 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.347e-05/7.202, allocations: 3.844 kB / 3.788 GB, free: 284 MB / 1.167 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004622/7.207, allocations: 1.672 MB / 3.789 GB, free: 283.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003298/7.207, allocations: 0.6442 MB / 3.79 GB, free: 283.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/7.207, allocations: 3.312 kB / 3.79 GB, free: 283.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009145/7.208, allocations: 142.1 kB / 3.79 GB, free: 283.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001439/7.209, allocations: 300.6 kB / 3.79 GB, free: 283.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004013/7.213, allocations: 4.264 MB / 3.794 GB, free: 279.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002481/7.216, allocations: 187.7 kB / 3.795 GB, free: 279.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002218/7.216, allocations: 59.38 kB / 3.795 GB, free: 279.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/7.216, allocations: 6.375 kB / 3.795 GB, free: 279.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003542/7.22, allocations: 1.468 MB / 3.796 GB, free: 279.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/7.22, allocations: 0 / 3.796 GB, free: 279.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007402/7.221, allocations: 145.8 kB / 3.796 GB, free: 279.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001332/7.222, allocations: 299.3 kB / 3.797 GB, free: 279.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003469/7.225, allocations: 4.258 MB / 3.801 GB, free: 275.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002304/7.228, allocations: 173 kB / 3.801 GB, free: 275.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002251/7.228, allocations: 64.34 kB / 3.801 GB, free: 275.4 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 146 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001681/7.23, allocations: 0.5332 MB / 3.801 GB, free: 275.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009286/7.231, allocations: 186.2 kB / 3.802 GB, free: 275.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005202/7.236, allocations: 2.013 MB / 3.804 GB, free: 274.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.73e-05/7.236, allocations: 14.78 kB / 3.804 GB, free: 274.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.356e-05/7.236, allocations: 3.594 kB / 3.804 GB, free: 274.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003144/7.239, allocations: 1.603 MB / 3.805 GB, free: 274.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009925/7.249, allocations: 4.049 MB / 3.809 GB, free: 274.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/7.249, allocations: 0 / 3.809 GB, free: 274.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00152/7.251, allocations: 321.3 kB / 3.809 GB, free: 274.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000768/7.251, allocations: 148.8 kB / 3.81 GB, free: 274.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001718/7.252, allocations: 47.2 kB / 3.81 GB, free: 274.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003864/7.255, allocations: 4.252 MB / 3.814 GB, free: 270.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/7.255, allocations: 3.125 kB / 3.814 GB, free: 270.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006237/7.262, allocations: 2.696 MB / 3.816 GB, free: 270.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002239/7.264, allocations: 0.6034 MB / 3.817 GB, free: 270 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007654/7.265, allocations: 30.12 kB / 3.817 GB, free: 270 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002147/7.267, allocations: 141.6 kB / 3.817 GB, free: 270 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002946/7.267, allocations: 107.5 kB / 3.817 GB, free: 270 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002092/7.267, allocations: 67.91 kB / 3.817 GB, free: 270 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003213/7.271, allocations: 1.545 MB / 3.819 GB, free: 269.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.9e-07/7.271, allocations: 6.406 kB / 3.819 GB, free: 269.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.006138/7.277, allocations: 1.319 MB / 3.82 GB, free: 269.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (room.dynBal.medium.Xi[1],room.dynBal.U,room.dynBal.m,tabDat_m_flow.mExc,tabDat_V_flow.mExc) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01195/7.289, allocations: 5.154 MB / 3.825 GB, free: 268.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.006128/7.295, allocations: 2.812 MB / 3.828 GB, free: 267.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.193e-05/7.295, allocations: 4.406 kB / 3.828 GB, free: 267.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002102/7.297, allocations: 1.119 MB / 3.829 GB, free: 266.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004745/7.302, allocations: 0.658 MB / 3.83 GB, free: 266.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03215/7.334, allocations: 14.65 MB / 3.844 GB, free: 258.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002049/7.336, allocations: 1.566 MB / 3.845 GB, free: 257.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.003915/7.34, allocations: 0.714 MB / 3.846 GB, free: 257.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001923/7.342, allocations: 0.89 MB / 3.847 GB, free: 257.2 MB / 1.167 GB Notification: Performance of SimCode: time 2.034e-06/7.342, allocations: 0 / 3.847 GB, free: 257.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1254/7.468, allocations: 74.69 MB / 3.92 GB, free: 193.6 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002199/7.468, allocations: 257.4 kB / 3.92 GB, free: 193.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.249/12.72, allocations: 4 kB / 3.92 GB, free: 193.2 MB / 1.167 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.TrickleVent.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.TrickleVent.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.TrickleVent.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.TrickleVent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.TrickleVent_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_TrickleVent_fmu --startTime=0 --stopTime=2.592e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_TrickleVent.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.TrickleVent.pipe 2>&1)