Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_DualFanDualDuct_Controls_Examples_PreHeatCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_DualFanDualDuct_Controls_Examples_PreHeatCoil",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.557/1.557, allocations: 251.9 MB / 266.9 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001131/0.001131, allocations: 187.9 kB / 326.5 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.936/1.936, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008926/0.0008929, allocations: 82.42 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003252/0.0003252, allocations: 10.59 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2772, allocations: 106.3 MB / 0.9001 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil): time 0.003101/0.2803, allocations: 2.516 MB / 0.9026 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001809/0.2822, allocations: 1.096 MB / 0.9037 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003168/0.2825, allocations: 23.88 kB / 0.9037 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001702/0.2827, allocations: 47.56 kB / 0.9037 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003754/0.2831, allocations: 91.61 kB / 0.9038 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006622/0.2838, allocations: 238.5 kB / 0.9041 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004933/0.2843, allocations: 412.4 kB / 0.9044 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004541/0.2847, allocations: 356.1 kB / 0.9048 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001691/0.2849, allocations: 171.3 kB / 0.9049 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.2851, allocations: 179 kB / 0.9051 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.269e-05/0.2851, allocations: 20 kB / 0.9051 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.294e-05/0.2852, allocations: 23.98 kB / 0.9052 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.908e-05/0.2853, allocations: 79.61 kB / 0.9052 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.99e-05/0.2854, allocations: 109.5 kB / 0.9053 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003845/0.2858, allocations: 0.538 MB / 0.9059 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2858, allocations: 0 / 0.9059 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2858, allocations: 4 kB / 0.9059 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.2858, allocations: 0 / 0.9059 GB, free: 57.92 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001395/0.2872, allocations: 0.7962 MB / 0.9066 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 7.586e-05/0.2873, allocations: 12.03 kB / 0.9067 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001034/0.2874, allocations: 82.52 kB / 0.9067 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.992e-05/0.2875, allocations: 63.3 kB / 0.9068 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005763/0.2881, allocations: 427.6 kB / 0.9072 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.587e-05/0.2881, allocations: 37 kB / 0.9072 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.153e-05/0.2882, allocations: 51.91 kB / 0.9073 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008794/0.2891, allocations: 0.5391 MB / 0.9078 GB, free: 55.78 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.2891, allocations: 0 / 0.9078 GB, free: 55.78 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.271e-05/0.2892, allocations: 16 kB / 0.9078 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.2892, allocations: 15.94 kB / 0.9078 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008498/0.2901, allocations: 423.7 kB / 0.9083 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001904/0.292, allocations: 1.852 MB / 0.9101 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008722/0.2929, allocations: 376.9 kB / 0.9104 GB, free: 53.03 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/0.2929, allocations: 0 / 0.9104 GB, free: 53.03 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005074/0.2934, allocations: 225.5 kB / 0.9106 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=34): time 1.853e-06/0.2934, allocations: 4 kB / 0.9106 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=34): time 0.001131/0.2946, allocations: 0.5012 MB / 0.9111 GB, free: 52.29 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.2946, allocations: 63.39 kB / 0.9112 GB, free: 52.21 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003489/0.295, allocations: 401.4 kB / 0.9116 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.737e-05/0.295, allocations: 41.69 kB / 0.9116 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.2951, allocations: 252.2 kB / 0.9119 GB, free: 51.52 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.815e-05/0.2952, allocations: 94.7 kB / 0.9119 GB, free: 51.42 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.106e-05/0.2952, allocations: 12 kB / 0.912 GB, free: 51.41 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.2954, allocations: 354.8 kB / 0.9123 GB, free: 51.05 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003619/0.2957, allocations: 165 kB / 0.9124 GB, free: 50.89 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003931/0.2961, allocations: 265.9 kB / 0.9127 GB, free: 50.59 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003808/0.2965, allocations: 211.2 kB / 0.9129 GB, free: 50.38 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.2965, allocations: 0 / 0.9129 GB, free: 50.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009153/0.2974, allocations: 0.5383 MB / 0.9134 GB, free: 49.83 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.402e-05/0.2975, allocations: 29.7 kB / 0.9135 GB, free: 49.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/0.2975, allocations: 4 kB / 0.9135 GB, free: 49.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.2975, allocations: 8 kB / 0.9135 GB, free: 49.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002944/0.2978, allocations: 83.81 kB / 0.9135 GB, free: 49.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.2979, allocations: 4 kB / 0.9136 GB, free: 49.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003525/0.2982, allocations: 87.55 kB / 0.9136 GB, free: 49.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.363e-05/0.2983, allocations: 20 kB / 0.9137 GB, free: 49.59 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 33 ($PRE.preHeatCoil.toOn.enableFire,$PRE.preHeatCoil.toOff.enableFire,preHeatCoil.stateGraphRoot.resume,preHeatCoil.stateGraphRoot.suspend,$whenCondition2,$whenCondition1,$PRE.TMix.T_start,TMix.T_start,$PRE.TMix.count,TMix.count,$PRE.preHeatCoil.preHeaOn.y,preHeatCoil.preHeaOn.y,preHeatCoil.pumOff.active,$PRE.preHeatCoil.pumOff.localActive,preHeatCoil.pumOff.localActive,$PRE.preHeatCoil.pumOff.newActive,preHeatCoil.pumOff.newActive,$PRE.preHeatCoil.pumOff.oldActive,preHeatCoil.pumOff.oldActive,preHeatCoil.toOn.enableFire,preHeatCoil.stateGraphRoot.activeSteps,$PRE.preHeatCoil.pumOn.localActive,preHeatCoil.pumOn.localActive,$PRE.preHeatCoil.pumOn.newActive,preHeatCoil.pumOn.newActive,$PRE.preHeatCoil.pumOn.oldActive,preHeatCoil.pumOn.oldActive,preHeatCoil.pumOn.active,preHeatCoil.toOff.enableFire,preHeatCoil.toOff.fire,$PRE.preHeatCoil.toOff.t_start,preHeatCoil.toOff.t_start,preHeatCoil.preHeaCoiCon.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 1 * 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.0002302/0.2985, allocations: 207.4 kB / 0.9139 GB, free: 49.38 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.498e-05/0.2986, allocations: 43.53 kB / 0.9139 GB, free: 49.34 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000844/0.2994, allocations: 405.5 kB / 0.9143 GB, free: 48.94 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.2994, allocations: 4 kB / 0.9143 GB, free: 48.93 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.2994, allocations: 0 / 0.9143 GB, free: 48.93 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.2994, allocations: 0 / 0.9143 GB, free: 48.93 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001458/0.3009, allocations: 0.9752 MB / 0.9152 GB, free: 47.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.3009, allocations: 0 / 0.9152 GB, free: 47.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000244/0.3012, allocations: 51.95 kB / 0.9153 GB, free: 47.85 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/0.3012, allocations: 4 kB / 0.9153 GB, free: 47.84 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.866e-05/0.3012, allocations: 15.98 kB / 0.9153 GB, free: 47.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.3012, allocations: 3.969 kB / 0.9153 GB, free: 47.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3012, allocations: 4 kB / 0.9153 GB, free: 47.82 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.3024, allocations: 0.6808 MB / 0.916 GB, free: 47.11 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/0.3025, allocations: 152.5 kB / 0.9161 GB, free: 46.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.316e-05/0.3026, allocations: 8 kB / 0.9161 GB, free: 46.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002948/0.3029, allocations: 48.02 kB / 0.9162 GB, free: 46.89 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.303, allocations: 43.94 kB / 0.9162 GB, free: 46.85 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.788e-05/0.303, allocations: 19.88 kB / 0.9162 GB, free: 46.83 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002719/0.3033, allocations: 263.2 kB / 0.9165 GB, free: 46.57 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3033, allocations: 0 / 0.9165 GB, free: 46.57 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003938/0.3037, allocations: 95.73 kB / 0.9166 GB, free: 46.47 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (preHeatCoil.preHeaCoiCon.I.y) * Number of discrete variables: 20 (preHeatCoil.toOff.enableFire,preHeatCoil.pumOn.localActive,preHeatCoil.pumOff.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,TMix.T_start,TMix.count,preHeatCoil.preHeaOn.y,preHeatCoil.pumOff.active,preHeatCoil.pumOff.newActive,preHeatCoil.pumOff.oldActive,preHeatCoil.toOn.enableFire,preHeatCoil.stateGraphRoot.activeSteps,preHeatCoil.pumOn.newActive,preHeatCoil.pumOn.oldActive,preHeatCoil.pumOn.active,preHeatCoil.toOff.fire,preHeatCoil.toOff.t_start) * Number of discrete states: 4 (TMix.count,preHeatCoil.pumOff.newActive,preHeatCoil.pumOn.newActive,preHeatCoil.preHeaOn.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001354/0.3051, allocations: 1.309 MB / 0.9179 GB, free: 45.13 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008766/0.306, allocations: 455.5 kB / 0.9183 GB, free: 44.67 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.306, allocations: 4 kB / 0.9183 GB, free: 44.67 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003893/0.3064, allocations: 192.2 kB / 0.9185 GB, free: 44.48 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004432/0.3068, allocations: 85.28 kB / 0.9186 GB, free: 44.4 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004312/0.3112, allocations: 4.461 MB / 0.9229 GB, free: 39.83 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/0.3115, allocations: 0.8435 MB / 0.9237 GB, free: 38.96 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002345/0.3117, allocations: 55.44 kB / 0.9238 GB, free: 38.9 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000221/0.3119, allocations: 155.4 kB / 0.9239 GB, free: 38.75 MB / 0.6042 GB Notification: Performance of SimCode: time 1.012e-06/0.3119, allocations: 0 / 0.9239 GB, free: 38.75 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02198/0.3339, allocations: 8.563 MB / 0.9323 GB, free: 30.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002127/0.3342, allocations: 210.4 kB / 0.9325 GB, free: 30.16 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.285/2.619, allocations: 4 kB / 0.9325 GB, free: 30.15 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Examples_DualFanDualDuct_Controls_Examples_PreHeatCoil_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Examples_DualFanDualDuct_Controls_Examples_PreHeatCoil.fmu > Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe 2>&1)