Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.659/1.659, allocations: 287.4 MB / 302.6 MB, free: 8.293 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.001108/0.001108, allocations: 189.6 kB / 371.1 MB, free: 10.8 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.428/1.428, allocations: 205.4 MB / 0.6298 GB, free: 10.5 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.0008053/0.0008053, allocations: 84.03 kB / 0.7431 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004085/0.0004086, allocations: 11.91 kB / 0.8661 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2092, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.003733/0.2129, allocations: 3.225 MB / 0.9819 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003378/0.2164, allocations: 2.41 MB / 0.9842 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004847/0.2169, allocations: 11.94 kB / 0.9842 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006765/0.2176, allocations: 206.8 kB / 0.9844 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0009832/0.2186, allocations: 446.9 kB / 0.9848 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009564/0.2195, allocations: 428.3 kB / 0.9853 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001004/0.2205, allocations: 1.339 MB / 0.9866 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001913/0.2207, allocations: 140.7 kB / 0.9867 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003393/0.2211, allocations: 378.6 kB / 0.9871 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004391/0.2215, allocations: 0.4944 MB / 0.9875 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.913e-05/0.2216, allocations: 35.98 kB / 0.9876 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.2217, allocations: 40 kB / 0.9876 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000214/0.2219, allocations: 311.1 kB / 0.9879 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.2221, allocations: 193.2 kB / 0.9881 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003866/0.2225, allocations: 0.6935 MB / 0.9888 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.2225, allocations: 0 / 0.9888 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2225, allocations: 0 / 0.9888 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.807e-06/0.2225, allocations: 0 / 0.9888 GB, free: 17.74 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001569/0.2241, allocations: 1.141 MB / 0.9899 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/0.2241, allocations: 8.031 kB / 0.9899 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.797e-05/0.2242, allocations: 74.72 kB / 0.99 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/0.2243, allocations: 103.7 kB / 0.9901 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007304/0.225, allocations: 0.6558 MB / 0.9907 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.2251, allocations: 40.97 kB / 0.9907 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.059e-05/0.2251, allocations: 68.12 kB / 0.9908 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004638/0.2256, allocations: 415 kB / 0.9912 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.2256, allocations: 0 / 0.9912 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/0.2257, allocations: 12 kB / 0.9912 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.2257, allocations: 8 kB / 0.9912 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003325/0.226, allocations: 238.4 kB / 0.9915 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002187/0.2282, allocations: 2.513 MB / 0.9939 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00123/0.2295, allocations: 0.5506 MB / 0.9944 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002054/0.2297, allocations: 172.7 kB / 0.9946 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.2297, allocations: 4 kB / 0.9946 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.392e-05/0.2297, allocations: 30.56 kB / 0.9946 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=30): time 1.393e-06/0.2297, allocations: 0 / 0.9946 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30): time 0.001282/0.231, allocations: 0.9013 MB / 0.9955 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.188e-05/0.2311, allocations: 59.34 kB / 0.9956 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008409/0.2319, allocations: 0.9115 MB / 0.9965 GB, free: 9.434 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.2319, allocations: 41.7 kB / 0.9965 GB, free: 9.387 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002036/0.2321, allocations: 360.8 kB / 0.9969 GB, free: 9.027 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.943e-05/0.2322, allocations: 122.3 kB / 0.997 GB, free: 8.906 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.314e-05/0.2323, allocations: 19.94 kB / 0.997 GB, free: 8.887 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.717e-05/0.2324, allocations: 394.8 kB / 0.9974 GB, free: 8.492 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003117/0.2327, allocations: 245.8 kB / 0.9976 GB, free: 8.254 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004249/0.2331, allocations: 0.631 MB / 0.9982 GB, free: 7.43 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007128/0.2338, allocations: 0.8951 MB / 0.9991 GB, free: 6.34 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.2338, allocations: 4 kB / 0.9991 GB, free: 6.336 MB / 0.6198 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00121/0.2351, allocations: 1.01 MB / 1 GB, free: 5.309 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.2351, allocations: 12 kB / 1 GB, free: 5.297 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.2351, allocations: 15.94 kB / 1 GB, free: 5.281 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003414/0.2355, allocations: 130.8 kB / 1 GB, free: 5.145 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005319/0.236, allocations: 191.7 kB / 1 GB, free: 4.957 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002201/0.2382, allocations: 4.165 MB / 1.004 GB, free: 396 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007709/0.239, allocations: 118.9 kB / 1.005 GB, free: 276 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.167e-05/0.239, allocations: 40 kB / 1.005 GB, free: 236 kB / 0.6198 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.0003115/0.2394, allocations: 273.5 kB / 1.005 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.2395, allocations: 78.97 kB / 1.005 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001088/0.2396, allocations: 76.53 kB / 1.005 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.2396, allocations: 3.938 kB / 1.005 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/0.2396, allocations: 4 kB / 1.005 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.2396, allocations: 3.984 kB / 1.005 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007806/0.2404, allocations: 0.653 MB / 1.006 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.2404, allocations: 0 / 1.006 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000319/0.2407, allocations: 63.94 kB / 1.006 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002817/0.241, allocations: 106.4 kB / 1.006 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.619e-05/0.2411, allocations: 11.98 kB / 1.006 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003157/0.2442, allocations: 4.138 MB / 1.01 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.2443, allocations: 0 / 1.01 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.2453, allocations: 0.7466 MB / 1.011 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000248/0.2456, allocations: 203.9 kB / 1.011 GB, free: 9.367 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.095e-05/0.2457, allocations: 15.98 kB / 1.011 GB, free: 9.352 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004467/0.2461, allocations: 31.84 kB / 1.011 GB, free: 9.32 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.479e-05/0.2462, allocations: 23.91 kB / 1.011 GB, free: 9.297 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.2462, allocations: 15.94 kB / 1.011 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0008083/0.247, allocations: 0.6083 MB / 1.012 GB, free: 8.676 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2471, allocations: 0 / 1.012 GB, free: 8.676 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007727/0.2478, allocations: 271.8 kB / 1.012 GB, free: 8.41 MB / 0.6355 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.001376/0.2492, allocations: 1.291 MB / 1.013 GB, free: 7.086 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001336/0.2506, allocations: 0.9278 MB / 1.014 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2506, allocations: 0.875 kB / 1.014 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005809/0.2512, allocations: 0.5235 MB / 1.014 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008075/0.252, allocations: 163.1 kB / 1.015 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007862/0.2599, allocations: 5.806 MB / 1.02 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005709/0.2604, allocations: 0.9878 MB / 1.021 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004025/0.2609, allocations: 150.2 kB / 1.021 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003413/0.2612, allocations: 279.3 kB / 1.022 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of SimCode: time 3.41e-07/0.2612, allocations: 0 / 1.022 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.63/0.8912, allocations: 16.78 MB / 1.038 GB, free: 13.3 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002248/0.8915, allocations: 218.5 kB / 1.038 GB, free: 13.05 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.462/3.354, allocations: 3.938 kB / 1.038 GB, free: 13.05 MB / 0.6667 GB (rm -f Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_HeatTransfer_Examples_ConductorSingleLayer2_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_HeatTransfer_Examples_ConductorSingleLayer2.fmu > Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1)