Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 191.2 kB / 16.13 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 222.9 MB / 239.8 MB, free: 4.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.416/2.416, allocations: 437 MB / 0.7099 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 71.83 kB / 0.8686 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.458/0.4592, allocations: 151.6 MB / 1.017 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.004289/0.4635, allocations: 3.777 MB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003523/0.467, allocations: 2.53 MB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003741/0.4674, allocations: 15.88 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0006534/0.4681, allocations: 226.8 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0008569/0.469, allocations: 470 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009673/0.4699, allocations: 463.2 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001375/0.4713, allocations: 1.624 MB / 1.026 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001945/0.4715, allocations: 137.3 kB / 1.026 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003812/0.4719, allocations: 382.5 kB / 1.026 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005233/0.4725, allocations: 0.5137 MB / 1.027 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.572e-05/0.4725, allocations: 36 kB / 1.027 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.4727, allocations: 40 kB / 1.027 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002558/0.4729, allocations: 323 kB / 1.027 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003392/0.4733, allocations: 441.6 kB / 1.027 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006047/0.4739, allocations: 0.9029 MB / 1.028 GB, free: 6.883 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.4739, allocations: 3.984 kB / 1.028 GB, free: 6.879 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.72e-07/0.4739, allocations: 0 / 1.028 GB, free: 6.879 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.4739, allocations: 0 / 1.028 GB, free: 6.879 MB / 0.7794 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.001869/0.4758, allocations: 1.269 MB / 1.029 GB, free: 5.559 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.4758, allocations: 11.98 kB / 1.03 GB, free: 5.547 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.418e-05/0.4759, allocations: 78.59 kB / 1.03 GB, free: 5.461 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001236/0.476, allocations: 107.7 kB / 1.03 GB, free: 5.355 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008016/0.4768, allocations: 0.6442 MB / 1.03 GB, free: 4.668 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.543e-05/0.4769, allocations: 41.03 kB / 1.03 GB, free: 4.629 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.259e-05/0.4769, allocations: 64.12 kB / 1.03 GB, free: 4.566 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00051/0.4775, allocations: 407 kB / 1.031 GB, free: 4.133 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.4775, allocations: 0 / 1.031 GB, free: 4.133 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.999e-05/0.4775, allocations: 16 kB / 1.031 GB, free: 4.117 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.4775, allocations: 8 kB / 1.031 GB, free: 4.109 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003594/0.4779, allocations: 238.3 kB / 1.031 GB, free: 3.879 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002427/0.4803, allocations: 2.49 MB / 1.033 GB, free: 1.207 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001288/0.4816, allocations: 0.5591 MB / 1.034 GB, free: 0.6406 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002214/0.4819, allocations: 152.8 kB / 1.034 GB, free: 500 kB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.4819, allocations: 4 kB / 1.034 GB, free: 496 kB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.4819, allocations: 46.55 kB / 1.034 GB, free: 440 kB / 0.7794 GB Notification: Performance of pre-optimization done (n=30): time 1.263e-06/0.4819, allocations: 0 / 1.034 GB, free: 440 kB / 0.7794 GB Notification: Performance of matching and sorting (n=30): time 0.001361/0.4833, allocations: 0.8817 MB / 1.035 GB, free: 15.48 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.732e-05/0.4833, allocations: 59.41 kB / 1.035 GB, free: 15.41 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009487/0.4843, allocations: 0.927 MB / 1.036 GB, free: 14.47 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.347e-05/0.4843, allocations: 45.7 kB / 1.036 GB, free: 14.42 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002222/0.4845, allocations: 356.9 kB / 1.036 GB, free: 14.07 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.736e-05/0.4846, allocations: 118.3 kB / 1.037 GB, free: 13.95 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001677/0.4848, allocations: 170.6 kB / 1.037 GB, free: 13.78 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.485, allocations: 394.7 kB / 1.037 GB, free: 13.38 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003409/0.4853, allocations: 241.8 kB / 1.037 GB, free: 13.14 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005339/0.4858, allocations: 0.6426 MB / 1.038 GB, free: 12.31 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008483/0.4867, allocations: 0.895 MB / 1.039 GB, free: 11.22 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.4867, allocations: 4 kB / 1.039 GB, free: 11.21 MB / 0.795 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001343/0.4881, allocations: 1.01 MB / 1.04 GB, free: 10.19 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.4881, allocations: 12.94 kB / 1.04 GB, free: 10.18 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.4881, allocations: 20.47 kB / 1.04 GB, free: 10.16 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003326/0.4884, allocations: 126.4 kB / 1.04 GB, free: 10.02 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000538/0.489, allocations: 183.7 kB / 1.04 GB, free: 9.844 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002558/0.4916, allocations: 4.153 MB / 1.044 GB, free: 5.289 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007045/0.4923, allocations: 114.9 kB / 1.044 GB, free: 5.176 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.44e-05/0.4923, allocations: 44.23 kB / 1.044 GB, free: 5.133 MB / 0.795 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002475/0.4926, allocations: 285.4 kB / 1.045 GB, free: 4.844 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.96e-05/0.4927, allocations: 78.97 kB / 1.045 GB, free: 4.766 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001071/0.4928, allocations: 84.44 kB / 1.045 GB, free: 4.684 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.4928, allocations: 7.938 kB / 1.045 GB, free: 4.676 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.4928, allocations: 0 / 1.045 GB, free: 4.676 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.4928, allocations: 7.938 kB / 1.045 GB, free: 4.668 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006024/0.4934, allocations: 0.6492 MB / 1.045 GB, free: 3.969 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4934, allocations: 0 / 1.045 GB, free: 3.969 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003054/0.4938, allocations: 67.89 kB / 1.045 GB, free: 3.902 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002725/0.494, allocations: 102.5 kB / 1.046 GB, free: 3.793 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.64e-05/0.4941, allocations: 11.98 kB / 1.046 GB, free: 3.781 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002465/0.4965, allocations: 4.138 MB / 1.05 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4966, allocations: 0 / 1.05 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009029/0.4975, allocations: 0.7328 MB / 1.05 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002283/0.4977, allocations: 208 kB / 1.051 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.748e-05/0.4978, allocations: 15.98 kB / 1.051 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004017/0.4982, allocations: 19.97 kB / 1.051 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.24e-05/0.4983, allocations: 27.91 kB / 1.051 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.4983, allocations: 8 kB / 1.051 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0006744/0.499, allocations: 0.62 MB / 1.051 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.499, allocations: 4 kB / 1.051 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0006834/0.4997, allocations: 267.8 kB / 1.051 GB, free: 13.31 MB / 0.8106 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001128/0.5008, allocations: 1.292 MB / 1.053 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001081/0.5019, allocations: 0.9244 MB / 1.054 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.5019, allocations: 8.125 kB / 1.054 GB, free: 11.01 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0005071/0.5024, allocations: 0.5194 MB / 1.054 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007549/0.5032, allocations: 175.5 kB / 1.054 GB, free: 10.28 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009068/0.5123, allocations: 8.337 MB / 1.062 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000458/0.5127, allocations: 0.9917 MB / 1.063 GB, free: 364 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003367/0.5131, allocations: 145.9 kB / 1.064 GB, free: 216 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003247/0.5134, allocations: 279.4 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.5134, allocations: 0 / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.572/2.085, allocations: 16.48 MB / 1.08 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003165/2.086, allocations: 228.9 kB / 1.08 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.188/5.273, allocations: 0 / 1.08 GB, free: 15.45 MB / 0.8419 GB (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Examples_ConductorSingleLayer2_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Examples_ConductorSingleLayer2.fmu > Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1)