Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009734/0.0009734, allocations: 81.86 kB / 20.68 MB, free: 3.816 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 185 kB / 24.09 MB, free: 416 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9557/0.9557, allocations: 177.1 MB / 204.5 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.82/1.82, allocations: 377.9 MB / 0.624 GB, free: 8.391 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.[0-9,]+.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.[0-9,]+.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.812 GB, free: 1.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.439e-05/1.594e-05, allocations: 6.312 kB / 0.812 GB, free: 1.492 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.003085/0.003101, allocations: 3.716 MB / 0.8156 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.00264/0.005741, allocations: 2.494 MB / 0.818 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002102/0.005951, allocations: 25.19 kB / 0.8181 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005169/0.006468, allocations: 246.2 kB / 0.8183 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0006783/0.007146, allocations: 0.5669 MB / 0.8188 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006977/0.007844, allocations: 0.5691 MB / 0.8194 GB, free: 9.883 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001069/0.008913, allocations: 1.417 MB / 0.8208 GB, free: 8.461 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002001/0.009113, allocations: 101.7 kB / 0.8209 GB, free: 8.359 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006755/0.009789, allocations: 0.6123 MB / 0.8215 GB, free: 7.746 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000517/0.01031, allocations: 448.3 kB / 0.8219 GB, free: 7.309 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 7.311e-05/0.01038, allocations: 52 kB / 0.822 GB, free: 7.258 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.01051, allocations: 68.69 kB / 0.822 GB, free: 7.191 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002671/0.01078, allocations: 392.3 kB / 0.8224 GB, free: 6.809 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002298/0.01101, allocations: 311.2 kB / 0.8227 GB, free: 6.504 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005002/0.01151, allocations: 0.6304 MB / 0.8233 GB, free: 5.871 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.01151, allocations: 0 / 0.8233 GB, free: 5.871 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.51e-07/0.01151, allocations: 0.875 kB / 0.8233 GB, free: 5.871 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.01152, allocations: 0 / 0.8233 GB, free: 5.871 MB / 0.7761 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.001175/0.01269, allocations: 1.307 MB / 0.8246 GB, free: 4.531 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.01273, allocations: 8.031 kB / 0.8246 GB, free: 4.523 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001965/0.01292, allocations: 148.2 kB / 0.8247 GB, free: 4.379 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004939/0.01342, allocations: 0.5344 MB / 0.8253 GB, free: 3.812 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/0.01344, allocations: 38.09 kB / 0.8253 GB, free: 3.777 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.042e-05/0.01349, allocations: 60.33 kB / 0.8253 GB, free: 3.719 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002621/0.01375, allocations: 306 kB / 0.8256 GB, free: 3.375 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.01376, allocations: 192 / 0.8256 GB, free: 3.375 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.01378, allocations: 15.94 kB / 0.8257 GB, free: 3.359 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.01379, allocations: 13.72 kB / 0.8257 GB, free: 3.348 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.837e-05/0.01389, allocations: 92.45 kB / 0.8258 GB, free: 3.258 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001352/0.01524, allocations: 1.995 MB / 0.8277 GB, free: 1.195 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005196/0.01576, allocations: 360.2 kB / 0.828 GB, free: 0.832 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.581e-05/0.01583, allocations: 64.11 kB / 0.8281 GB, free: 0.7656 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.01584, allocations: 4.234 kB / 0.8281 GB, free: 0.7617 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.01586, allocations: 41.62 kB / 0.8282 GB, free: 0.7109 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=28): time 1.633e-06/0.01586, allocations: 0 / 0.8282 GB, free: 0.7109 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30): time 0.0007707/0.01663, allocations: 0.6098 MB / 0.8287 GB, free: 64 kB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.01667, allocations: 55.45 kB / 0.8288 GB, free: 15.99 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005688/0.01724, allocations: 0.8424 MB / 0.8296 GB, free: 15.14 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.01727, allocations: 41.7 kB / 0.8297 GB, free: 15.09 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002304/0.0175, allocations: 451.7 kB / 0.8301 GB, free: 14.64 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 6.813e-05/0.01757, allocations: 119 kB / 0.8302 GB, free: 14.52 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/0.01771, allocations: 188.2 kB / 0.8304 GB, free: 14.33 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.01789, allocations: 0.5897 MB / 0.831 GB, free: 13.73 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.68e-05/0.01797, allocations: 61.94 kB / 0.831 GB, free: 13.67 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003199/0.01829, allocations: 0.6451 MB / 0.8317 GB, free: 12.76 MB / 0.7917 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3]) (TB.T = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3])) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]) (TB1.T = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2])) Notification: Performance of analyzeInitialSystem (initialization): time 0.0008264/0.01911, allocations: 1.058 MB / 0.8327 GB, free: 11.44 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.433e-06/0.01912, allocations: 4 kB / 0.8327 GB, free: 11.43 MB / 0.7917 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0005828/0.0197, allocations: 0.6295 MB / 0.8333 GB, free: 10.79 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.01972, allocations: 15.94 kB / 0.8333 GB, free: 10.78 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.01973, allocations: 12 kB / 0.8333 GB, free: 10.77 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001487/0.01988, allocations: 47.66 kB / 0.8334 GB, free: 10.71 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003239/0.02021, allocations: 204 kB / 0.8336 GB, free: 10.52 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008117/0.02102, allocations: 1.728 MB / 0.8353 GB, free: 8.676 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002916/0.02131, allocations: 36 kB / 0.8353 GB, free: 8.641 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.008e-05/0.02134, allocations: 36 kB / 0.8353 GB, free: 8.605 MB / 0.7917 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3]) con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]). 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 (97): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001695/0.02151, allocations: 252.6 kB / 0.8356 GB, free: 8.352 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.605e-05/0.02158, allocations: 95.44 kB / 0.8357 GB, free: 8.258 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.887e-05/0.02164, allocations: 68.42 kB / 0.8357 GB, free: 8.188 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.02165, allocations: 7.984 kB / 0.8357 GB, free: 8.18 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.02166, allocations: 0 / 0.8357 GB, free: 8.18 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.02166, allocations: 0 / 0.8357 GB, free: 8.18 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007117/0.02237, allocations: 0.7536 MB / 0.8365 GB, free: 7.371 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.02237, allocations: 4.031 kB / 0.8365 GB, free: 7.367 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001742/0.02255, allocations: 75.89 kB / 0.8365 GB, free: 7.293 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001038/0.02265, allocations: 35.66 kB / 0.8366 GB, free: 7.254 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.02267, allocations: 8 kB / 0.8366 GB, free: 7.246 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006498/0.02332, allocations: 1.717 MB / 0.8383 GB, free: 5.418 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.02332, allocations: 0 / 0.8383 GB, free: 5.418 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003582/0.02368, allocations: 494.6 kB / 0.8387 GB, free: 4.895 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000144/0.02382, allocations: 119.4 kB / 0.8388 GB, free: 4.777 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.246e-05/0.02386, allocations: 8 kB / 0.8389 GB, free: 4.77 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001742/0.02404, allocations: 8.125 kB / 0.8389 GB, free: 4.762 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.094e-05/0.02408, allocations: 27.95 kB / 0.8389 GB, free: 4.734 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.02409, allocations: 4 kB / 0.8389 GB, free: 4.73 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0003244/0.02441, allocations: 494.7 kB / 0.8394 GB, free: 4.25 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5e-08/0.02441, allocations: 0 / 0.8394 GB, free: 4.25 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0004323/0.02484, allocations: 212 kB / 0.8396 GB, free: 4.043 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (con.T[1],con.T[2],con.T[3],con1.T[1],con1.T[2],con2.T[1]) * 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0001099/0.02495, allocations: 115.1 kB / 0.8397 GB, free: 3.922 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0004804/0.02543, allocations: 499.6 kB / 0.8402 GB, free: 3.414 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.02544, allocations: 3.938 kB / 0.8402 GB, free: 3.41 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001546/0.02559, allocations: 263.8 kB / 0.8404 GB, free: 3.133 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004874/0.02608, allocations: 163.7 kB / 0.8406 GB, free: 2.977 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.02757, allocations: 1.391 MB / 0.8419 GB, free: 1.527 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/0.02769, allocations: 189.8 kB / 0.8421 GB, free: 1.32 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001671/0.02786, allocations: 85.55 kB / 0.8422 GB, free: 1.234 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002853/0.02814, allocations: 238.1 kB / 0.8424 GB, free: 1 MB / 0.7917 GB Notification: Performance of SimCode: time 7.31e-07/0.02814, allocations: 0 / 0.8424 GB, free: 1 MB / 0.7917 GB Notification: Performance of Templates: time 0.01172/0.03987, allocations: 10.05 MB / 0.8522 GB, free: 7.18 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.2122224830091]