Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.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: translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.441/1.441, allocations: 251.5 MB / 267.4 MB, free: 11.03 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.0009864/0.0009865, allocations: 176.1 kB / 326.5 MB, free: 2.656 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.824/1.824, allocations: 205 MB / 0.5766 GB, free: 20.98 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.0007986/0.0007988, allocations: 97.22 kB / 0.6804 GB, free: 14.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003275/0.0003276, allocations: 16.25 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.1974, allocations: 105.4 MB / 0.8967 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.003395/0.2008, allocations: 4.037 MB / 0.9007 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003704/0.2046, allocations: 3.017 MB / 0.9036 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003938/0.205, allocations: 19.88 kB / 0.9036 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0008328/0.2058, allocations: 326.3 kB / 0.9039 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001032/0.2069, allocations: 0.5951 MB / 0.9045 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001391/0.2083, allocations: 0.5588 MB / 0.9051 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001738/0.21, allocations: 2.19 MB / 0.9072 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002511/0.2103, allocations: 165.8 kB / 0.9074 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006607/0.2109, allocations: 0.5135 MB / 0.9079 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006553/0.2116, allocations: 0.6694 MB / 0.9085 GB, free: 55.99 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.92e-05/0.2117, allocations: 44 kB / 0.9086 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005685/0.2123, allocations: 395.3 kB / 0.9089 GB, free: 55.56 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0003303/0.2126, allocations: 414.7 kB / 0.9093 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0004639/0.2131, allocations: 0.5594 MB / 0.9099 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0009359/0.2141, allocations: 1.079 MB / 0.9109 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2141, allocations: 0 / 0.9109 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2141, allocations: 0 / 0.9109 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.52e-05/0.2141, allocations: 0 / 0.9109 GB, free: 53.51 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.002389/0.2165, allocations: 1.457 MB / 0.9124 GB, free: 52 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.2165, allocations: 12.03 kB / 0.9124 GB, free: 51.99 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001778/0.2167, allocations: 131.3 kB / 0.9125 GB, free: 51.86 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.2178, allocations: 0.8153 MB / 0.9133 GB, free: 50.99 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.161e-05/0.2179, allocations: 45.38 kB / 0.9133 GB, free: 50.95 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.902e-05/0.2179, allocations: 68.31 kB / 0.9134 GB, free: 50.88 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007148/0.2187, allocations: 0.614 MB / 0.914 GB, free: 50.24 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.2187, allocations: 3.938 kB / 0.914 GB, free: 50.24 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.661e-05/0.2187, allocations: 16 kB / 0.914 GB, free: 50.22 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.2188, allocations: 8 kB / 0.914 GB, free: 50.21 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000597/0.2194, allocations: 0.5699 MB / 0.9146 GB, free: 49.64 MB / 0.6042 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003325/0.2227, allocations: 3.298 MB / 0.9178 GB, free: 46.1 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/0.2238, allocations: 0.8478 MB / 0.9186 GB, free: 45.24 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003392/0.2241, allocations: 361.4 kB / 0.919 GB, free: 44.89 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.405e-05/0.2242, allocations: 28.28 kB / 0.919 GB, free: 44.86 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.2242, allocations: 42.88 kB / 0.919 GB, free: 44.81 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=45): time 1.964e-06/0.2242, allocations: 0 / 0.919 GB, free: 44.81 MB / 0.6042 GB Notification: Performance of matching and sorting (n=45): time 0.001383/0.2256, allocations: 1.19 MB / 0.9202 GB, free: 43.59 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.326e-05/0.2257, allocations: 55.41 kB / 0.9203 GB, free: 43.52 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/0.2268, allocations: 1.227 MB / 0.9215 GB, free: 42.29 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.502e-05/0.2269, allocations: 41.7 kB / 0.9215 GB, free: 42.24 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002342/0.2271, allocations: 464.6 kB / 0.9219 GB, free: 41.78 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.2272, allocations: 177.5 kB / 0.9221 GB, free: 41.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.601e-05/0.2273, allocations: 125.6 kB / 0.9222 GB, free: 41.47 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.876e-05/0.2274, allocations: 353.9 kB / 0.9226 GB, free: 41.12 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005863/0.228, allocations: 0.6387 MB / 0.9232 GB, free: 40.48 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007066/0.2287, allocations: 0.9747 MB / 0.9241 GB, free: 39.37 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001265/0.23, allocations: 1.594 MB / 0.9257 GB, free: 37.63 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.23, allocations: 4 kB / 0.9257 GB, free: 37.63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001704/0.2317, allocations: 1.783 MB / 0.9274 GB, free: 35.83 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.2317, allocations: 14.34 kB / 0.9275 GB, free: 35.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.392e-05/0.2318, allocations: 12 kB / 0.9275 GB, free: 35.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001961/0.232, allocations: 44.83 kB / 0.9275 GB, free: 35.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.233, allocations: 279.8 kB / 0.9278 GB, free: 35.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002378/0.2354, allocations: 6.733 MB / 0.9344 GB, free: 28.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008773/0.2363, allocations: 130.6 kB / 0.9345 GB, free: 28.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-05/0.2363, allocations: 40.19 kB / 0.9345 GB, free: 28.27 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (104): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 8 systems {1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems 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.0003545/0.2367, allocations: 305.4 kB / 0.9348 GB, free: 27.96 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.2368, allocations: 110.5 kB / 0.9349 GB, free: 27.85 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009694/0.2378, allocations: 0.8543 MB / 0.9357 GB, free: 26.98 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.2378, allocations: 8 kB / 0.9358 GB, free: 26.97 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.2378, allocations: 0 / 0.9358 GB, free: 26.97 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.2378, allocations: 3.984 kB / 0.9358 GB, free: 26.97 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007604/0.2386, allocations: 0.9074 MB / 0.9366 GB, free: 26.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.2386, allocations: 4 kB / 0.9367 GB, free: 26.01 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004504/0.2391, allocations: 111.8 kB / 0.9368 GB, free: 25.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001088/0.2392, allocations: 36.78 kB / 0.9368 GB, free: 25.86 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.135e-05/0.2392, allocations: 19.98 kB / 0.9368 GB, free: 25.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006239/0.2398, allocations: 1.327 MB / 0.9381 GB, free: 24.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2399, allocations: 4.031 kB / 0.9381 GB, free: 24.38 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/0.2411, allocations: 1.381 MB / 0.9395 GB, free: 22.98 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003159/0.2414, allocations: 263.6 kB / 0.9397 GB, free: 22.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00012/0.2415, allocations: 19.98 kB / 0.9397 GB, free: 22.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005291/0.2421, allocations: 27.97 kB / 0.9398 GB, free: 22.65 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.198e-05/0.2422, allocations: 31.95 kB / 0.9398 GB, free: 22.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.437e-05/0.2422, allocations: 12 kB / 0.9398 GB, free: 22.61 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009992/0.2432, allocations: 0.8193 MB / 0.9406 GB, free: 21.79 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2432, allocations: 0 / 0.9406 GB, free: 21.79 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001196/0.2445, allocations: 375.6 kB / 0.941 GB, free: 21.42 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (conPCM.u[1],conPCM.u[2],conPCM.u[3],conPCM.u[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2],conPCM2.u[1],conPCM2.u[2],conPCM2.u[3],conPCM2.u[4]) * 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 (44): * Single equations (assignments): 43 * 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.0005465/0.245, allocations: 266.9 kB / 0.9412 GB, free: 21.14 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002154/0.2472, allocations: 1.51 MB / 0.9427 GB, free: 19.61 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.2472, allocations: 0 / 0.9427 GB, free: 19.61 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004505/0.2476, allocations: 480 kB / 0.9431 GB, free: 19.13 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.2487, allocations: 212.5 kB / 0.9433 GB, free: 18.92 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002966/0.2517, allocations: 2.926 MB / 0.9462 GB, free: 15.97 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004238/0.2521, allocations: 1.102 MB / 0.9473 GB, free: 14.84 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001951/0.2523, allocations: 63.44 kB / 0.9473 GB, free: 14.78 MB / 0.6042 GB Notification: Performance of SimCode: time 6.51e-07/0.2523, allocations: 0 / 0.9473 GB, free: 14.78 MB / 0.6042 GB Notification: Performance of Templates: time 0.03045/0.2828, allocations: 30.56 MB / 0.9772 GB, free: 248 kB / 0.6198 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1)