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: translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.714/2.714, allocations: 287.3 MB / 302.3 MB, free: 8.285 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.001519/0.001519, allocations: 185 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.225/2.225, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001186/0.001186, allocations: 91.17 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005072/0.0005075, allocations: 13.31 kB / 0.8656 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2241, allocations: 115.3 MB / 0.9782 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.004163/0.2284, allocations: 3.003 MB / 0.9811 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004809/0.2332, allocations: 2.4 MB / 0.9835 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004195/0.2337, allocations: 11.94 kB / 0.9835 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.2348, allocations: 294.7 kB / 0.9837 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001087/0.2359, allocations: 387.8 kB / 0.9841 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001541/0.2375, allocations: 432.1 kB / 0.9845 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001414/0.2389, allocations: 0.7719 MB / 0.9853 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000271/0.2392, allocations: 127.5 kB / 0.9854 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005784/0.2398, allocations: 315 kB / 0.9857 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005032/0.2403, allocations: 334.7 kB / 0.986 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.576e-05/0.2404, allocations: 24 kB / 0.986 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001498/0.2406, allocations: 32 kB / 0.9861 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0004147/0.241, allocations: 319.1 kB / 0.9864 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001733/0.2412, allocations: 189.2 kB / 0.9866 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006967/0.2419, allocations: 0.674 MB / 0.9872 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2419, allocations: 0 / 0.9872 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2419, allocations: 0 / 0.9872 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.789e-06/0.2419, allocations: 0 / 0.9872 GB, free: 19.1 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.002656/0.2446, allocations: 1.132 MB / 0.9883 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.2446, allocations: 12.03 kB / 0.9883 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002011/0.2448, allocations: 102.8 kB / 0.9884 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001203/0.2461, allocations: 0.5773 MB / 0.989 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.717e-05/0.2461, allocations: 44.59 kB / 0.989 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.2462, allocations: 55.91 kB / 0.9891 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008014/0.247, allocations: 411 kB / 0.9895 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.2471, allocations: 3.938 kB / 0.9895 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.398e-05/0.2471, allocations: 16 kB / 0.9895 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.2472, allocations: 8 kB / 0.9895 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006111/0.2478, allocations: 238.4 kB / 0.9897 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003877/0.2517, allocations: 2.49 MB / 0.9922 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002378/0.2541, allocations: 0.5591 MB / 0.9927 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.347e-05/0.2541, allocations: 11.94 kB / 0.9927 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.2542, allocations: 34.56 kB / 0.9928 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=30): time 3.607e-06/0.2542, allocations: 0 / 0.9928 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30): time 0.002274/0.2565, allocations: 0.8901 MB / 0.9936 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.2565, allocations: 59.41 kB / 0.9937 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001436/0.258, allocations: 0.8918 MB / 0.9946 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.573e-05/0.258, allocations: 41.7 kB / 0.9946 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002931/0.2583, allocations: 360.8 kB / 0.9949 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001319/0.2585, allocations: 118.3 kB / 0.9951 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-05/0.2585, allocations: 20 kB / 0.9951 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.2587, allocations: 394.7 kB / 0.9955 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006022/0.2593, allocations: 245.8 kB / 0.9957 GB, free: 9.988 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000779/0.2601, allocations: 0.6348 MB / 0.9963 GB, free: 9.156 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007668/0.2609, allocations: 339.4 kB / 0.9966 GB, free: 8.824 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.033e-05/0.2609, allocations: 4 kB / 0.9966 GB, free: 8.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002309/0.2632, allocations: 1.018 MB / 0.9976 GB, free: 7.785 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/0.2633, allocations: 13.09 kB / 0.9976 GB, free: 7.773 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.921e-05/0.2633, allocations: 16.03 kB / 0.9977 GB, free: 7.758 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005689/0.2639, allocations: 122.4 kB / 0.9978 GB, free: 7.629 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/0.265, allocations: 187.7 kB / 0.998 GB, free: 7.445 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003332/0.2684, allocations: 4.181 MB / 1.002 GB, free: 2.863 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/0.2699, allocations: 122.9 kB / 1.002 GB, free: 2.742 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.132e-05/0.27, allocations: 44 kB / 1.002 GB, free: 2.699 MB / 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.0004109/0.2704, allocations: 277.4 kB / 1.002 GB, free: 2.418 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.2706, allocations: 79.44 kB / 1.003 GB, free: 2.34 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001375/0.2707, allocations: 80.52 kB / 1.003 GB, free: 2.262 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.2707, allocations: 0 / 1.003 GB, free: 2.262 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.2707, allocations: 4 kB / 1.003 GB, free: 2.258 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.2707, allocations: 7.938 kB / 1.003 GB, free: 2.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008998/0.2717, allocations: 0.6414 MB / 1.003 GB, free: 1.559 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.2717, allocations: 0 / 1.003 GB, free: 1.559 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006112/0.2723, allocations: 67.89 kB / 1.003 GB, free: 1.492 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004428/0.2728, allocations: 94.5 kB / 1.003 GB, free: 1.391 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.996e-05/0.2728, allocations: 11.98 kB / 1.003 GB, free: 1.379 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00401/0.2768, allocations: 4.173 MB / 1.007 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.2769, allocations: 0 / 1.007 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001867/0.2788, allocations: 0.7315 MB / 1.008 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004488/0.2792, allocations: 203.9 kB / 1.008 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001482/0.2794, allocations: 8 kB / 1.008 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007741/0.2802, allocations: 23.97 kB / 1.008 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.2803, allocations: 39.89 kB / 1.008 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.145e-05/0.2804, allocations: 11.95 kB / 1.008 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001273/0.2816, allocations: 0.5888 MB / 1.009 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2817, allocations: 0 / 1.009 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001325/0.283, allocations: 267.8 kB / 1.009 GB, free: 10.89 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.0001857/0.2832, allocations: 111.2 kB / 1.009 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002162/0.2854, allocations: 0.9142 MB / 1.01 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.2854, allocations: 0 / 1.01 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0009741/0.2864, allocations: 0.5313 MB / 1.011 GB, free: 9.258 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/0.2876, allocations: 163.3 kB / 1.011 GB, free: 9.098 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004083/0.2917, allocations: 2.038 MB / 1.013 GB, free: 7.027 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007919/0.2925, allocations: 1.003 MB / 1.014 GB, free: 5.996 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000704/0.2933, allocations: 141.2 kB / 1.014 GB, free: 5.855 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002351/0.2935, allocations: 39.44 kB / 1.014 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of SimCode: time 1.103e-06/0.2935, allocations: 0 / 1.014 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of Templates: time 0.02661/0.3201, allocations: 8.841 MB / 1.023 GB, free: 13.08 MB / 0.6511 GB make -j1 -f Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile (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 & ./Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayer2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1)