Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.758/1.758, allocations: 288.4 MB / 303.3 MB, free: 8.16 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009803/0.0009803, allocations: 178.6 kB / 372 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.369/1.369, allocations: 205.4 MB / 0.6307 GB, free: 9.984 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007162/0.0007163, allocations: 94.41 kB / 0.744 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004283/0.0004283, allocations: 13.97 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.201, allocations: 115.3 MB / 0.9796 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil): time 0.002981/0.2041, allocations: 2.504 MB / 0.9821 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001607/0.2057, allocations: 1.115 MB / 0.9832 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002356/0.206, allocations: 11.94 kB / 0.9832 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001822/0.2061, allocations: 55.45 kB / 0.9832 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001343/0.2063, allocations: 51.56 kB / 0.9833 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005595/0.2069, allocations: 229.6 kB / 0.9835 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000428/0.2073, allocations: 0.6092 MB / 0.9841 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003887/0.2077, allocations: 344.2 kB / 0.9844 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.2078, allocations: 175.2 kB / 0.9846 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001622/0.208, allocations: 179 kB / 0.9848 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.527e-05/0.2081, allocations: 20 kB / 0.9848 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.842e-05/0.2082, allocations: 23.98 kB / 0.9848 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.547e-05/0.2082, allocations: 79.61 kB / 0.9849 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.438e-05/0.2083, allocations: 109.5 kB / 0.985 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003523/0.2087, allocations: 0.5379 MB / 0.9855 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.2087, allocations: 0 / 0.9855 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2087, allocations: 0 / 0.9855 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.135e-06/0.2087, allocations: 0 / 0.9855 GB, free: 21.51 MB / 0.6198 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.00133/0.21, allocations: 0.804 MB / 0.9863 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.2101, allocations: 12.02 kB / 0.9863 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.145e-05/0.2102, allocations: 90.52 kB / 0.9864 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.786e-05/0.2103, allocations: 59.25 kB / 0.9865 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004921/0.2108, allocations: 423.5 kB / 0.9869 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.315e-05/0.2108, allocations: 41 kB / 0.9869 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.611e-05/0.2109, allocations: 48 kB / 0.9869 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008763/0.2118, allocations: 0.543 MB / 0.9875 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.2118, allocations: 0 / 0.9875 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.007e-05/0.2118, allocations: 20 kB / 0.9875 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.2118, allocations: 8 kB / 0.9875 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008743/0.2127, allocations: 427.6 kB / 0.9879 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001786/0.2145, allocations: 1.864 MB / 0.9897 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008379/0.2154, allocations: 366.8 kB / 0.9901 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003585/0.2157, allocations: 176.8 kB / 0.9902 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.474e-05/0.2158, allocations: 4 kB / 0.9903 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005101/0.2163, allocations: 233.4 kB / 0.9905 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=34): time 3.045e-06/0.2163, allocations: 0 / 0.9905 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34): time 0.001156/0.2175, allocations: 0.4935 MB / 0.991 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.905e-05/0.2175, allocations: 59.41 kB / 0.991 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003329/0.2179, allocations: 405.3 kB / 0.9914 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.8e-05/0.2179, allocations: 45.7 kB / 0.9914 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.218, allocations: 256.2 kB / 0.9917 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.802e-05/0.2181, allocations: 90.75 kB / 0.9918 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.147e-05/0.2181, allocations: 12 kB / 0.9918 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.7e-05/0.2182, allocations: 350.8 kB / 0.9921 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003711/0.2186, allocations: 169 kB / 0.9923 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003996/0.219, allocations: 265.9 kB / 0.9925 GB, free: 14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003863/0.2194, allocations: 199.2 kB / 0.9927 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.2194, allocations: 7.953 kB / 0.9927 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009346/0.2203, allocations: 0.534 MB / 0.9933 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.4e-05/0.2204, allocations: 41.69 kB / 0.9933 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.2204, allocations: 0 / 0.9933 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.616e-05/0.2204, allocations: 12.25 kB / 0.9933 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003071/0.2208, allocations: 75.89 kB / 0.9934 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.2208, allocations: 7.938 kB / 0.9934 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003652/0.2211, allocations: 87.39 kB / 0.9935 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.115e-05/0.2212, allocations: 20 kB / 0.9935 GB, free: 13 MB / 0.6198 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.0002016/0.2214, allocations: 205.6 kB / 0.9937 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/0.2215, allocations: 43.48 kB / 0.9937 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008343/0.2223, allocations: 409.6 kB / 0.9941 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.2223, allocations: 4 kB / 0.9941 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.2223, allocations: 0 / 0.9941 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.2223, allocations: 7.984 kB / 0.9941 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00132/0.2237, allocations: 0.9789 MB / 0.9951 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.2237, allocations: 0 / 0.9951 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002455/0.2239, allocations: 59.92 kB / 0.9951 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.798e-06/0.2239, allocations: 0 / 0.9951 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.461e-05/0.224, allocations: 12 kB / 0.9952 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.224, allocations: 0 / 0.9952 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.224, allocations: 0 / 0.9952 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.2251, allocations: 0.6634 MB / 0.9958 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.2253, allocations: 148.5 kB / 0.9959 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.183e-05/0.2253, allocations: 8 kB / 0.996 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003057/0.2256, allocations: 51.95 kB / 0.996 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.2258, allocations: 47.92 kB / 0.996 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.376e-05/0.2258, allocations: 8 kB / 0.9961 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002188/0.226, allocations: 271.2 kB / 0.9963 GB, free: 9.988 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.51e-07/0.226, allocations: 0 / 0.9963 GB, free: 9.988 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003715/0.2264, allocations: 95.69 kB / 0.9964 GB, free: 9.895 MB / 0.6198 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.00137/0.2278, allocations: 1.234 MB / 0.9976 GB, free: 8.633 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008775/0.2287, allocations: 455.4 kB / 0.998 GB, free: 8.176 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2287, allocations: 0 / 0.998 GB, free: 8.176 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003919/0.2291, allocations: 187.8 kB / 0.9982 GB, free: 7.992 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005409/0.2296, allocations: 82.84 kB / 0.9983 GB, free: 7.91 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003901/0.2335, allocations: 2.535 MB / 1.001 GB, free: 5.281 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002432/0.2338, allocations: 0.8274 MB / 1.002 GB, free: 4.426 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002333/0.2341, allocations: 55.39 kB / 1.002 GB, free: 4.371 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002064/0.2343, allocations: 159.4 kB / 1.002 GB, free: 4.215 MB / 0.6198 GB Notification: Performance of SimCode: time 1.082e-06/0.2343, allocations: 0 / 1.002 GB, free: 4.215 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02058/0.2549, allocations: 8.604 MB / 1.01 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001795/0.2551, allocations: 216.2 kB / 1.01 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.202/2.457, allocations: 0 / 1.01 GB, free: 11.57 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Examples_DualFanDualDuct_Controls_Examples_PreHeatCoil_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Examples_DualFanDualDuct_Controls_Examples_PreHeatCoil.fmu > Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe 2>&1)