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.359/1.359, allocations: 252 MB / 267 MB, free: 10.96 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.0009459/0.0009459, allocations: 180.1 kB / 326.6 MB, free: 2.207 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.6/1.6, allocations: 205.4 MB / 0.5777 GB, free: 20.51 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.0007636/0.0007634, allocations: 92.7 kB / 0.6823 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003415/0.0003415, allocations: 9.062 kB / 0.7965 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2125, allocations: 106.3 MB / 0.9003 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil): time 0.002897/0.2155, allocations: 2.511 MB / 0.9028 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002044/0.2176, allocations: 1.107 MB / 0.9038 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000663/0.2183, allocations: 15.94 kB / 0.9039 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002948/0.2186, allocations: 59.45 kB / 0.9039 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002552/0.2189, allocations: 47.56 kB / 0.904 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007698/0.2196, allocations: 238.2 kB / 0.9042 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0005337/0.2202, allocations: 0.6092 MB / 0.9048 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004325/0.2206, allocations: 356.2 kB / 0.9051 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001678/0.2208, allocations: 163.2 kB / 0.9053 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.221, allocations: 187 kB / 0.9055 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.721e-05/0.221, allocations: 16 kB / 0.9055 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.574e-05/0.2211, allocations: 31.98 kB / 0.9055 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.191e-05/0.2212, allocations: 75.61 kB / 0.9056 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.53e-05/0.2213, allocations: 109.5 kB / 0.9057 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003704/0.2217, allocations: 0.5263 MB / 0.9062 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.2217, allocations: 4 kB / 0.9062 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.747e-06/0.2217, allocations: 3.938 kB / 0.9062 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.2217, allocations: 0 / 0.9062 GB, free: 58.11 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.001388/0.2231, allocations: 0.804 MB / 0.907 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.2232, allocations: 12.03 kB / 0.907 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.522e-05/0.2233, allocations: 86.52 kB / 0.9071 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.925e-05/0.2234, allocations: 63.3 kB / 0.9071 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005059/0.2239, allocations: 423.6 kB / 0.9075 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.72e-05/0.2239, allocations: 37 kB / 0.9076 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.23e-05/0.224, allocations: 51.91 kB / 0.9076 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008819/0.2249, allocations: 0.5391 MB / 0.9082 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.2249, allocations: 0 / 0.9082 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.112e-05/0.225, allocations: 24 kB / 0.9082 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.225, allocations: 12 kB / 0.9082 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008793/0.2259, allocations: 419.6 kB / 0.9086 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001832/0.2277, allocations: 1.864 MB / 0.9104 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008458/0.2286, allocations: 364.9 kB / 0.9108 GB, free: 53.21 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003619/0.229, allocations: 176.8 kB / 0.9109 GB, free: 53.03 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.22e-05/0.229, allocations: 4 kB / 0.9109 GB, free: 53.03 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005296/0.2295, allocations: 225.5 kB / 0.9111 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=34): time 2.315e-06/0.2295, allocations: 0 / 0.9111 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=34): time 0.001192/0.2307, allocations: 0.5012 MB / 0.9116 GB, free: 52.29 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.2308, allocations: 59.41 kB / 0.9117 GB, free: 52.22 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003547/0.2312, allocations: 401.5 kB / 0.9121 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.169e-05/0.2312, allocations: 41.64 kB / 0.9121 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.2314, allocations: 260.1 kB / 0.9124 GB, free: 51.51 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.358e-05/0.2314, allocations: 98.7 kB / 0.9125 GB, free: 51.41 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.128e-05/0.2315, allocations: 12 kB / 0.9125 GB, free: 51.4 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.469e-05/0.2315, allocations: 354.8 kB / 0.9128 GB, free: 51.05 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003801/0.2319, allocations: 161 kB / 0.913 GB, free: 50.89 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004059/0.2323, allocations: 277.9 kB / 0.9132 GB, free: 50.57 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003864/0.2327, allocations: 199.2 kB / 0.9134 GB, free: 50.38 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.2327, allocations: 0 / 0.9134 GB, free: 50.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009285/0.2337, allocations: 0.5304 MB / 0.9139 GB, free: 49.83 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.523e-05/0.2337, allocations: 37.69 kB / 0.914 GB, free: 49.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.2338, allocations: 4 kB / 0.914 GB, free: 49.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.2338, allocations: 8 kB / 0.914 GB, free: 49.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000307/0.2341, allocations: 76.14 kB / 0.9141 GB, free: 49.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.2341, allocations: 11.94 kB / 0.9141 GB, free: 49.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003524/0.2345, allocations: 83.42 kB / 0.9141 GB, free: 49.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.284e-05/0.2345, allocations: 27.98 kB / 0.9142 GB, free: 49.58 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.0002049/0.2347, allocations: 209.6 kB / 0.9144 GB, free: 49.37 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.54e-05/0.2348, allocations: 39.53 kB / 0.9144 GB, free: 49.33 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008537/0.2356, allocations: 409.5 kB / 0.9148 GB, free: 48.93 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.2357, allocations: 8 kB / 0.9148 GB, free: 48.92 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.2357, allocations: 0 / 0.9148 GB, free: 48.92 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.2357, allocations: 3.984 kB / 0.9148 GB, free: 48.91 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00136/0.237, allocations: 0.9713 MB / 0.9158 GB, free: 47.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.2371, allocations: 0 / 0.9158 GB, free: 47.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002518/0.2373, allocations: 55.92 kB / 0.9158 GB, free: 47.83 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.2373, allocations: 4 kB / 0.9158 GB, free: 47.82 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.614e-05/0.2374, allocations: 8 kB / 0.9158 GB, free: 47.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.2374, allocations: 4 kB / 0.9158 GB, free: 47.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2374, allocations: 0 / 0.9158 GB, free: 47.81 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001236/0.2386, allocations: 0.6634 MB / 0.9165 GB, free: 47.13 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.2388, allocations: 152.5 kB / 0.9166 GB, free: 46.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.145e-05/0.2388, allocations: 8 kB / 0.9166 GB, free: 46.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003239/0.2391, allocations: 48.02 kB / 0.9167 GB, free: 46.91 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.2393, allocations: 47.92 kB / 0.9167 GB, free: 46.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.548e-05/0.2393, allocations: 8 kB / 0.9167 GB, free: 46.85 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002256/0.2395, allocations: 271.1 kB / 0.917 GB, free: 46.58 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2395, allocations: 0 / 0.917 GB, free: 46.58 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003841/0.2399, allocations: 95.75 kB / 0.9171 GB, free: 46.49 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.001394/0.2413, allocations: 1.236 MB / 0.9183 GB, free: 45.22 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009185/0.2423, allocations: 455.8 kB / 0.9187 GB, free: 44.77 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.2423, allocations: 4.062 kB / 0.9187 GB, free: 44.76 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003893/0.2427, allocations: 187.8 kB / 0.9189 GB, free: 44.58 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005444/0.2432, allocations: 83.97 kB / 0.919 GB, free: 44.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003923/0.2472, allocations: 2.532 MB / 0.9215 GB, free: 41.88 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/0.2474, allocations: 0.8235 MB / 0.9223 GB, free: 41.02 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002262/0.2476, allocations: 59.44 kB / 0.9223 GB, free: 40.96 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002079/0.2479, allocations: 155.4 kB / 0.9225 GB, free: 40.81 MB / 0.6042 GB Notification: Performance of SimCode: time 1.012e-06/0.2479, allocations: 7.938 kB / 0.9225 GB, free: 40.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01943/0.2673, allocations: 8.583 MB / 0.9309 GB, free: 32.43 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001541/0.2675, allocations: 222.8 kB / 0.9311 GB, free: 32.18 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.245/2.512, allocations: 0 / 0.9311 GB, free: 32.18 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)