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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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: translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004963/0.004963, allocations: 99.62 kB / 15.73 MB, free: 6.043 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.00116/0.00116, allocations: 191.7 kB / 16.67 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.391/1.391, allocations: 205.1 MB / 222.5 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.604/1.604, allocations: 251.7 MB / 0.5094 GB, free: 3.027 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 69.78 kB / 0.7258 GB, free: 9.012 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1937, allocations: 104.7 MB / 0.828 GB, free: 192 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.004712/0.1984, allocations: 3.722 MB / 0.8317 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004021/0.2025, allocations: 2.557 MB / 0.8342 GB, free: 9.875 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004012/0.2029, allocations: 11.94 kB / 0.8342 GB, free: 9.863 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000771/0.2037, allocations: 258.3 kB / 0.8344 GB, free: 9.609 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0009795/0.2048, allocations: 0.4927 MB / 0.8349 GB, free: 9.117 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001325/0.2061, allocations: 0.5339 MB / 0.8354 GB, free: 8.582 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001441/0.2075, allocations: 1.394 MB / 0.8368 GB, free: 7.184 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002394/0.2078, allocations: 149.1 kB / 0.8369 GB, free: 7.035 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004997/0.2083, allocations: 442.5 kB / 0.8373 GB, free: 6.602 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005095/0.2088, allocations: 466.2 kB / 0.8378 GB, free: 6.145 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.161e-05/0.2089, allocations: 52 kB / 0.8378 GB, free: 6.094 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.209, allocations: 60 kB / 0.8379 GB, free: 6.035 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003611/0.2094, allocations: 378.9 kB / 0.8383 GB, free: 5.664 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003819/0.2098, allocations: 465.6 kB / 0.8387 GB, free: 5.207 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0007976/0.2106, allocations: 0.9264 MB / 0.8396 GB, free: 4.277 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.2106, allocations: 4 kB / 0.8396 GB, free: 4.273 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2106, allocations: 0 / 0.8396 GB, free: 4.273 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.119e-05/0.2106, allocations: 4 kB / 0.8396 GB, free: 4.27 MB / 0.6544 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.002038/0.2127, allocations: 1.272 MB / 0.8409 GB, free: 2.945 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.2127, allocations: 12.02 kB / 0.8409 GB, free: 2.934 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001533/0.2129, allocations: 103.7 kB / 0.841 GB, free: 2.832 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009991/0.2139, allocations: 0.6637 MB / 0.8416 GB, free: 2.125 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.136e-05/0.2139, allocations: 37.03 kB / 0.8417 GB, free: 2.09 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.651e-05/0.214, allocations: 68.28 kB / 0.8417 GB, free: 2.023 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005647/0.2146, allocations: 406.9 kB / 0.8421 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.2146, allocations: 0 / 0.8421 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.09e-05/0.2147, allocations: 16 kB / 0.8421 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.408e-05/0.2147, allocations: 15.94 kB / 0.8421 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003902/0.2151, allocations: 234.4 kB / 0.8424 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002905/0.218, allocations: 2.486 MB / 0.8448 GB, free: 14.66 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001419/0.2194, allocations: 0.5493 MB / 0.8453 GB, free: 14.11 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002519/0.2197, allocations: 164.8 kB / 0.8455 GB, free: 13.94 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.2197, allocations: 4 kB / 0.8455 GB, free: 13.94 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.2198, allocations: 30.56 kB / 0.8455 GB, free: 13.9 MB / 0.67 GB Notification: Performance of pre-optimization done (n=30): time 2.565e-06/0.2198, allocations: 0 / 0.8455 GB, free: 13.9 MB / 0.67 GB Notification: Performance of matching and sorting (n=30): time 0.001678/0.2215, allocations: 0.8871 MB / 0.8464 GB, free: 12.94 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.2215, allocations: 55.41 kB / 0.8464 GB, free: 12.88 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/0.2227, allocations: 0.9308 MB / 0.8473 GB, free: 11.93 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.804e-05/0.2227, allocations: 41.7 kB / 0.8474 GB, free: 11.89 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002594/0.223, allocations: 364.9 kB / 0.8477 GB, free: 11.52 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001343/0.2231, allocations: 110.3 kB / 0.8478 GB, free: 11.41 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000222/0.2234, allocations: 170.7 kB / 0.848 GB, free: 11.24 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.2235, allocations: 394.7 kB / 0.8484 GB, free: 10.84 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003802/0.2239, allocations: 241.8 kB / 0.8486 GB, free: 10.61 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005967/0.2245, allocations: 0.6465 MB / 0.8492 GB, free: 9.77 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009951/0.2255, allocations: 0.8875 MB / 0.8501 GB, free: 8.688 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/0.2255, allocations: 8 kB / 0.8501 GB, free: 8.68 MB / 0.67 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001601/0.2271, allocations: 1.014 MB / 0.8511 GB, free: 7.648 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.2272, allocations: 19.94 kB / 0.8511 GB, free: 7.629 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/0.2272, allocations: 12 kB / 0.8511 GB, free: 7.617 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004142/0.2276, allocations: 126.4 kB / 0.8513 GB, free: 7.484 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006308/0.2283, allocations: 195.7 kB / 0.8514 GB, free: 7.293 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003227/0.2315, allocations: 4.481 MB / 0.8558 GB, free: 2.391 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009435/0.2325, allocations: 110.9 kB / 0.8559 GB, free: 2.281 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.925e-05/0.2325, allocations: 40 kB / 0.856 GB, free: 2.242 MB / 0.67 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.000345/0.2329, allocations: 281.3 kB / 0.8562 GB, free: 1.957 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.233, allocations: 78.97 kB / 0.8563 GB, free: 1.879 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001345/0.2331, allocations: 72.53 kB / 0.8564 GB, free: 1.809 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.2332, allocations: 8.062 kB / 0.8564 GB, free: 1.801 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.2332, allocations: 0 / 0.8564 GB, free: 1.801 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.2332, allocations: 3.984 kB / 0.8564 GB, free: 1.797 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006838/0.2339, allocations: 0.6531 MB / 0.857 GB, free: 1.094 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.2339, allocations: 4 kB / 0.857 GB, free: 1.09 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003288/0.2342, allocations: 67.88 kB / 0.8571 GB, free: 1.023 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002959/0.2345, allocations: 102.5 kB / 0.8572 GB, free: 0.9141 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.734e-05/0.2346, allocations: 11.94 kB / 0.8572 GB, free: 0.9023 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002961/0.2375, allocations: 4.457 MB / 0.8615 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2376, allocations: 0 / 0.8615 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.2386, allocations: 0.7401 MB / 0.8623 GB, free: 11.26 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002827/0.2389, allocations: 211.9 kB / 0.8625 GB, free: 11.03 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.085e-05/0.239, allocations: 11.98 kB / 0.8625 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004449/0.2394, allocations: 19.97 kB / 0.8625 GB, free: 11 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.915e-05/0.2395, allocations: 23.97 kB / 0.8625 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.2395, allocations: 4 kB / 0.8625 GB, free: 10.97 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008022/0.2403, allocations: 0.6356 MB / 0.8632 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2404, allocations: 0 / 0.8632 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.000898/0.2413, allocations: 263.8 kB / 0.8634 GB, free: 10.08 MB / 0.6856 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.0001677/0.2414, allocations: 103.2 kB / 0.8635 GB, free: 9.969 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001393/0.2428, allocations: 0.9195 MB / 0.8644 GB, free: 9.012 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.2429, allocations: 0 / 0.8644 GB, free: 9.012 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0005754/0.2434, allocations: 0.5246 MB / 0.8649 GB, free: 8.449 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008357/0.2443, allocations: 169.7 kB / 0.8651 GB, free: 8.285 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002563/0.2469, allocations: 1.716 MB / 0.8667 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005933/0.2475, allocations: 0.9917 MB / 0.8677 GB, free: 5.523 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.000413/0.2479, allocations: 153.8 kB / 0.8679 GB, free: 5.371 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000154/0.2481, allocations: 47.44 kB / 0.8679 GB, free: 5.324 MB / 0.6856 GB Notification: Performance of SimCode: time 4.21e-07/0.2481, allocations: 0 / 0.8679 GB, free: 5.324 MB / 0.6856 GB Notification: Performance of Templates: time 0.01782/0.2659, allocations: 10.22 MB / 0.8779 GB, free: 11.22 MB / 0.7012 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile (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 & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1)