Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",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.501/1.501, allocations: 252 MB / 267 MB, free: 10.95 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.0009657/0.0009658, allocations: 181.3 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.73/1.73, allocations: 205.4 MB / 0.5777 GB, free: 20.18 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.000708/0.000708, allocations: 98.17 kB / 0.6823 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003615/0.0003619, allocations: 6.375 kB / 0.7964 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2037, allocations: 106.3 MB / 0.9003 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.003384/0.2071, allocations: 3.221 MB / 0.9034 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003705/0.2109, allocations: 2.423 MB / 0.9058 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005337/0.2115, allocations: 11.94 kB / 0.9058 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007637/0.2122, allocations: 206.8 kB / 0.906 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001032/0.2133, allocations: 448.4 kB / 0.9064 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001162/0.2145, allocations: 423.1 kB / 0.9068 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001326/0.2158, allocations: 1.32 MB / 0.9081 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002041/0.216, allocations: 115.5 kB / 0.9082 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003823/0.2164, allocations: 382.5 kB / 0.9086 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004545/0.2169, allocations: 0.5061 MB / 0.9091 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.921e-05/0.2169, allocations: 32 kB / 0.9091 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.2171, allocations: 36 kB / 0.9092 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001988/0.2173, allocations: 311 kB / 0.9095 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.2174, allocations: 189.3 kB / 0.9096 GB, free: 54.17 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003963/0.2178, allocations: 0.6934 MB / 0.9103 GB, free: 53.47 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2178, allocations: 0 / 0.9103 GB, free: 53.47 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2178, allocations: 0 / 0.9103 GB, free: 53.47 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.227e-05/0.2178, allocations: 0 / 0.9103 GB, free: 53.47 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001706/0.2195, allocations: 1.156 MB / 0.9114 GB, free: 52.27 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.2196, allocations: 12.03 kB / 0.9115 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.961e-05/0.2197, allocations: 66.53 kB / 0.9115 GB, free: 52.18 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.2198, allocations: 106.8 kB / 0.9116 GB, free: 52.07 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007504/0.2205, allocations: 0.624 MB / 0.9122 GB, free: 51.41 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.2206, allocations: 40.66 kB / 0.9123 GB, free: 51.36 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.509e-05/0.2206, allocations: 56 kB / 0.9123 GB, free: 51.31 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005213/0.2212, allocations: 411 kB / 0.9127 GB, free: 50.88 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.2212, allocations: 0 / 0.9127 GB, free: 50.88 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.86e-05/0.2212, allocations: 16 kB / 0.9127 GB, free: 50.86 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.2212, allocations: 8 kB / 0.9127 GB, free: 50.86 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003514/0.2216, allocations: 238.4 kB / 0.913 GB, free: 50.62 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002312/0.2239, allocations: 2.513 MB / 0.9154 GB, free: 47.93 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001234/0.2252, allocations: 0.5499 MB / 0.916 GB, free: 47.37 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002057/0.2254, allocations: 160.8 kB / 0.9161 GB, free: 47.21 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.2254, allocations: 4 kB / 0.9161 GB, free: 47.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.566e-05/0.2254, allocations: 38.55 kB / 0.9162 GB, free: 47.16 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=30): time 1.483e-06/0.2254, allocations: 8 kB / 0.9162 GB, free: 47.15 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30): time 0.001327/0.2268, allocations: 0.8829 MB / 0.917 GB, free: 46.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.2268, allocations: 59.36 kB / 0.9171 GB, free: 46.12 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008462/0.2277, allocations: 0.9192 MB / 0.918 GB, free: 45.2 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.324e-05/0.2277, allocations: 45.7 kB / 0.918 GB, free: 45.14 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001808/0.2279, allocations: 368.8 kB / 0.9184 GB, free: 44.78 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.465e-05/0.228, allocations: 114.3 kB / 0.9185 GB, free: 44.66 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.489e-05/0.228, allocations: 16 kB / 0.9185 GB, free: 44.65 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.723e-05/0.2281, allocations: 390.7 kB / 0.9189 GB, free: 44.26 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003158/0.2284, allocations: 245.8 kB / 0.9191 GB, free: 44.02 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004357/0.2289, allocations: 0.6425 MB / 0.9197 GB, free: 43.18 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003959/0.2293, allocations: 343.7 kB / 0.9201 GB, free: 42.84 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.2293, allocations: 4 kB / 0.9201 GB, free: 42.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001238/0.2305, allocations: 1.014 MB / 0.9211 GB, free: 41.81 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.292e-05/0.2306, allocations: 14.5 kB / 0.9211 GB, free: 41.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/0.2306, allocations: 16 kB / 0.9211 GB, free: 41.78 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003492/0.231, allocations: 122.8 kB / 0.9212 GB, free: 41.65 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005654/0.2315, allocations: 191.6 kB / 0.9214 GB, free: 41.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002193/0.2337, allocations: 4.165 MB / 0.9254 GB, free: 36.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008259/0.2346, allocations: 114.9 kB / 0.9256 GB, free: 36.78 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.686e-05/0.2346, allocations: 44 kB / 0.9256 GB, free: 36.73 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 90 * 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: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002701/0.2349, allocations: 257.5 kB / 0.9258 GB, free: 36.47 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.61e-05/0.235, allocations: 86.97 kB / 0.9259 GB, free: 36.39 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.322e-05/0.2351, allocations: 80.52 kB / 0.926 GB, free: 36.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.2351, allocations: 8.125 kB / 0.926 GB, free: 36.3 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.427e-06/0.2351, allocations: 3.953 kB / 0.926 GB, free: 36.29 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.2352, allocations: 3.984 kB / 0.926 GB, free: 36.29 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005805/0.2357, allocations: 0.6609 MB / 0.9267 GB, free: 35.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.2357, allocations: 0 / 0.9267 GB, free: 35.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003075/0.2361, allocations: 59.95 kB / 0.9267 GB, free: 35.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002587/0.2363, allocations: 106.5 kB / 0.9268 GB, free: 35.41 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.618e-05/0.2364, allocations: 8 kB / 0.9268 GB, free: 35.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001943/0.2383, allocations: 4.134 MB / 0.9309 GB, free: 30.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2383, allocations: 0 / 0.9309 GB, free: 30.87 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008953/0.2392, allocations: 0.7395 MB / 0.9316 GB, free: 30.11 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002113/0.2395, allocations: 207.9 kB / 0.9318 GB, free: 29.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.035e-05/0.2395, allocations: 8 kB / 0.9318 GB, free: 29.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004582/0.24, allocations: 23.97 kB / 0.9318 GB, free: 29.85 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.067e-05/0.2401, allocations: 31.86 kB / 0.9319 GB, free: 29.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.2401, allocations: 4 kB / 0.9319 GB, free: 29.82 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006266/0.2407, allocations: 0.6239 MB / 0.9325 GB, free: 29.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2407, allocations: 0 / 0.9325 GB, free: 29.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007411/0.2415, allocations: 271.8 kB / 0.9327 GB, free: 28.93 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * 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: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001018/0.2425, allocations: 1.289 MB / 0.934 GB, free: 27.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001094/0.2436, allocations: 0.9209 MB / 0.9349 GB, free: 26.64 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2436, allocations: 3.938 kB / 0.9349 GB, free: 26.64 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004486/0.2441, allocations: 0.5316 MB / 0.9354 GB, free: 26.07 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007815/0.2449, allocations: 173.6 kB / 0.9356 GB, free: 25.9 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00651/0.2514, allocations: 5.8 MB / 0.9412 GB, free: 19.77 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.2518, allocations: 0.9878 MB / 0.9422 GB, free: 18.75 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003877/0.2522, allocations: 157.8 kB / 0.9423 GB, free: 18.59 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000283/0.2525, allocations: 279.3 kB / 0.9426 GB, free: 18.32 MB / 0.6042 GB Notification: Performance of SimCode: time 6.81e-07/0.2525, allocations: 0 / 0.9426 GB, free: 18.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02735/0.2798, allocations: 16.8 MB / 0.959 GB, free: 1.789 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001364/0.28, allocations: 224.3 kB / 0.9592 GB, free: 1.547 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.501/2.781, allocations: 0 / 0.9592 GB, free: 1.547 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayer2_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayer2.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1)