Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.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.RoomMixingBox,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox",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.358/1.358, allocations: 252 MB / 267.3 MB, free: 10.84 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.0009651/0.0009651, allocations: 176.5 kB / 327 MB, free: 2.086 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.595/1.595, allocations: 205.4 MB / 0.578 GB, free: 20.14 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.0008167/0.0008168, allocations: 96.59 kB / 0.6826 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004551/0.0004552, allocations: 10.03 kB / 0.7971 GB, free: 134.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2042, allocations: 106.4 MB / 0.9009 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.003623/0.2079, allocations: 3.87 MB / 0.9047 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002382/0.2103, allocations: 1.381 MB / 0.906 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007735/0.2111, allocations: 19.94 kB / 0.9061 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004343/0.2116, allocations: 119 kB / 0.9062 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005108/0.2121, allocations: 95.23 kB / 0.9063 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006751/0.2128, allocations: 347.6 kB / 0.9066 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0008829/0.2137, allocations: 1.01 MB / 0.9076 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006707/0.2144, allocations: 0.5193 MB / 0.9081 GB, free: 55.78 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002703/0.2146, allocations: 234.5 kB / 0.9083 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002783/0.2149, allocations: 298 kB / 0.9086 GB, free: 55.26 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.219e-05/0.215, allocations: 24 kB / 0.9086 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.508e-05/0.2151, allocations: 24 kB / 0.9087 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.661e-05/0.2152, allocations: 119.3 kB / 0.9088 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002862/0.2155, allocations: 371.2 kB / 0.9091 GB, free: 54.72 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007345/0.2162, allocations: 1.199 MB / 0.9103 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.2162, allocations: 4 kB / 0.9103 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2162, allocations: 0 / 0.9103 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.088e-05/0.2163, allocations: 0 / 0.9103 GB, free: 53.52 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.002226/0.2185, allocations: 1.181 MB / 0.9114 GB, free: 52.27 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.2186, allocations: 8.031 kB / 0.9115 GB, free: 52.27 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001899/0.2188, allocations: 118.7 kB / 0.9116 GB, free: 52.14 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001651/0.219, allocations: 103.7 kB / 0.9117 GB, free: 52.04 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006906/0.2197, allocations: 0.5871 MB / 0.9122 GB, free: 51.41 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.752e-05/0.2197, allocations: 58.38 kB / 0.9123 GB, free: 51.36 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.346e-05/0.2198, allocations: 80.3 kB / 0.9124 GB, free: 51.28 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.2213, allocations: 0.8865 MB / 0.9132 GB, free: 50.35 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.2214, allocations: 0 / 0.9132 GB, free: 50.35 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.435e-05/0.2214, allocations: 32 kB / 0.9133 GB, free: 50.32 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.2215, allocations: 20 kB / 0.9133 GB, free: 50.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001695/0.2232, allocations: 0.7768 MB / 0.914 GB, free: 49.52 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003229/0.2264, allocations: 3.08 MB / 0.9171 GB, free: 46.33 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001829/0.2282, allocations: 0.8402 MB / 0.9179 GB, free: 45.48 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007415/0.229, allocations: 393.7 kB / 0.9182 GB, free: 45.09 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.171e-05/0.2291, allocations: 8.422 kB / 0.9183 GB, free: 45.09 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008683/0.2299, allocations: 413.1 kB / 0.9187 GB, free: 44.67 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=51): time 2.644e-06/0.2299, allocations: 0 / 0.9187 GB, free: 44.67 MB / 0.6042 GB Notification: Performance of matching and sorting (n=51): time 0.002194/0.2321, allocations: 0.9822 MB / 0.9196 GB, free: 43.68 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.2322, allocations: 137 kB / 0.9197 GB, free: 43.52 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006445/0.2329, allocations: 0.6605 MB / 0.9204 GB, free: 42.85 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.118e-05/0.2329, allocations: 37.7 kB / 0.9204 GB, free: 42.81 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001982/0.2331, allocations: 393.2 kB / 0.9208 GB, free: 42.42 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.374e-05/0.2332, allocations: 173.5 kB / 0.921 GB, free: 42.25 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.003e-05/0.2332, allocations: 8 kB / 0.921 GB, free: 42.24 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.586e-05/0.2333, allocations: 386.7 kB / 0.9213 GB, free: 41.85 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007344/0.2341, allocations: 321 kB / 0.9216 GB, free: 41.54 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008344/0.2349, allocations: 438.6 kB / 0.9221 GB, free: 41.06 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001407/0.2363, allocations: 0.7302 MB / 0.9228 GB, free: 40.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.2364, allocations: 4 kB / 0.9228 GB, free: 40.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001668/0.238, allocations: 0.8996 MB / 0.9237 GB, free: 39.38 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.142e-05/0.2381, allocations: 189.2 kB / 0.9238 GB, free: 39.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.2381, allocations: 0 / 0.9238 GB, free: 39.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.2382, allocations: 4 kB / 0.9238 GB, free: 39.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005736/0.2387, allocations: 171.7 kB / 0.924 GB, free: 38.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.2388, allocations: 4 kB / 0.924 GB, free: 38.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005626/0.2393, allocations: 151.3 kB / 0.9242 GB, free: 38.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-05/0.2394, allocations: 16 kB / 0.9242 GB, free: 38.82 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.973e-06/0.2394, allocations: 11.94 kB / 0.9242 GB, free: 38.81 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001244/0.2407, allocations: 0.6959 MB / 0.9249 GB, free: 38.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.2407, allocations: 0 / 0.9249 GB, free: 38.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.999e-06/0.2407, allocations: 4 kB / 0.9249 GB, free: 38.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004622/0.2412, allocations: 135.9 kB / 0.925 GB, free: 37.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.2412, allocations: 4 kB / 0.925 GB, free: 37.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004627/0.2416, allocations: 123.3 kB / 0.9251 GB, free: 37.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-05/0.2417, allocations: 20 kB / 0.9251 GB, free: 37.82 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$whenCondition1,$PRE.TRoo.T_start,TRoo.T_start,$PRE.TRoo.count,TRoo.count,$PRE.m_flow.T_start,m_flow.T_start,$PRE.m_flow.count,m_flow.count,conMix.conFloRat.I.trigger_internal,conMix.conCoo.I.trigger_internal,conMix.conHea.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 2 * 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.0002633/0.2419, allocations: 304.9 kB / 0.9254 GB, free: 37.51 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.436e-05/0.242, allocations: 71.17 kB / 0.9255 GB, free: 37.44 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00155/0.2436, allocations: 0.7455 MB / 0.9262 GB, free: 36.68 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.2436, allocations: 7.984 kB / 0.9262 GB, free: 36.68 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.2436, allocations: 4 kB / 0.9262 GB, free: 36.67 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.2436, allocations: 3.938 kB / 0.9262 GB, free: 36.67 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005902/0.2442, allocations: 0.7354 MB / 0.927 GB, free: 35.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.2442, allocations: 7.984 kB / 0.927 GB, free: 35.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005186/0.2448, allocations: 139.8 kB / 0.9271 GB, free: 35.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/0.2448, allocations: 8 kB / 0.9271 GB, free: 35.73 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.782e-05/0.2448, allocations: 15.98 kB / 0.9271 GB, free: 35.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.2448, allocations: 0 / 0.9271 GB, free: 35.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.2448, allocations: 0 / 0.9271 GB, free: 35.71 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002183/0.247, allocations: 1.112 MB / 0.9282 GB, free: 34.58 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.2472, allocations: 160.2 kB / 0.9284 GB, free: 34.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.606e-05/0.2472, allocations: 12 kB / 0.9284 GB, free: 34.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004636/0.2477, allocations: 87.92 kB / 0.9285 GB, free: 34.31 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.2478, allocations: 48.36 kB / 0.9285 GB, free: 34.26 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.057e-05/0.2479, allocations: 12 kB / 0.9285 GB, free: 34.25 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004534/0.2483, allocations: 471 kB / 0.929 GB, free: 33.79 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2483, allocations: 0 / 0.929 GB, free: 33.79 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005653/0.2489, allocations: 263 kB / 0.9292 GB, free: 33.54 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (conMix.conHea.I.y,conMix.conCoo.I.y,conMix.conFloRat.I.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,TRoo.T_start,TRoo.count,m_flow.T_start,m_flow.count) * Number of discrete states: 2 (m_flow.count,TRoo.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002359/0.2513, allocations: 1.669 MB / 0.9308 GB, free: 31.83 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002209/0.2535, allocations: 1.26 MB / 0.9321 GB, free: 30.53 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2535, allocations: 0 / 0.9321 GB, free: 30.53 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007129/0.2542, allocations: 358.4 kB / 0.9324 GB, free: 30.18 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006958/0.2549, allocations: 153.6 kB / 0.9326 GB, free: 30.03 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009698/0.2646, allocations: 6.702 MB / 0.9391 GB, free: 23.18 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/0.265, allocations: 0.9301 MB / 0.94 GB, free: 22.22 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003692/0.2654, allocations: 93.36 kB / 0.9401 GB, free: 22.12 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003611/0.2657, allocations: 287.3 kB / 0.9404 GB, free: 21.85 MB / 0.6042 GB Notification: Performance of SimCode: time 6.81e-07/0.2658, allocations: 0 / 0.9404 GB, free: 21.85 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0251/0.2909, allocations: 13.77 MB / 0.9538 GB, free: 8.34 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001267/0.291, allocations: 232 kB / 0.954 GB, free: 8.082 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.355/2.646, allocations: 0 / 0.954 GB, free: 8.082 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox.fmu > Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1)