Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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.ConductorSingleLayerCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01031/0.01031, allocations: 99.64 kB / 15.73 MB, free: 6.027 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.001996/0.001996, allocations: 186.2 kB / 16.67 MB, free: 5.969 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.505/1.505, allocations: 205.1 MB / 222.6 MB, free: 4.395 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5969/0.5969, allocations: 95.48 MB / 365.4 MB, free: 9.727 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 72.53 kB / 0.5036 GB, free: 13.48 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2082, allocations: 69.08 MB / 0.571 GB, free: 8.336 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder): time 0.00446/0.2128, allocations: 1.886 MB / 0.5729 GB, free: 6.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00171/0.2145, allocations: 0.718 MB / 0.5736 GB, free: 5.707 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001551/0.2147, allocations: 4 kB / 0.5736 GB, free: 5.703 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004001/0.2151, allocations: 55.67 kB / 0.5736 GB, free: 5.648 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/HeatTransfer/Data/BaseClasses.mo:121:5-123:32:writable] Warning: In relation concrete.c == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/HeatTransfer/Data/BaseClasses.mo:121:5-123:32:writable] Warning: In relation concrete.d == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.0003329/0.2155, allocations: 71.52 kB / 0.5737 GB, free: 5.578 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003536/0.2158, allocations: 87.77 kB / 0.5738 GB, free: 5.492 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008376/0.2167, allocations: 0.7019 MB / 0.5745 GB, free: 4.789 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001891/0.2169, allocations: 37.05 kB / 0.5745 GB, free: 4.754 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003295/0.2172, allocations: 227.6 kB / 0.5747 GB, free: 4.531 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004773/0.2177, allocations: 279.3 kB / 0.575 GB, free: 4.258 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.313e-05/0.2178, allocations: 48 kB / 0.575 GB, free: 4.211 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.136e-05/0.2179, allocations: 48 kB / 0.5751 GB, free: 4.164 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002978/0.2182, allocations: 183.6 kB / 0.5753 GB, free: 3.984 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002724/0.2185, allocations: 215.2 kB / 0.5755 GB, free: 3.773 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006278/0.2191, allocations: 0.4987 MB / 0.576 GB, free: 3.273 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.2191, allocations: 0 / 0.576 GB, free: 3.273 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.2191, allocations: 0 / 0.576 GB, free: 3.273 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.666e-05/0.2192, allocations: 0 / 0.576 GB, free: 3.273 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.002236/0.2214, allocations: 0.7678 MB / 0.5767 GB, free: 2.457 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.2215, allocations: 11.98 kB / 0.5767 GB, free: 2.445 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.2216, allocations: 36.56 kB / 0.5768 GB, free: 2.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005409/0.2221, allocations: 312.5 kB / 0.5771 GB, free: 2.066 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.203e-05/0.2222, allocations: 28.36 kB / 0.5771 GB, free: 2.039 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.964e-05/0.2223, allocations: 28 kB / 0.5771 GB, free: 2.012 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003649/0.2226, allocations: 175.4 kB / 0.5773 GB, free: 1.836 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.77e-05/0.2227, allocations: 0 / 0.5773 GB, free: 1.836 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.2227, allocations: 8 kB / 0.5773 GB, free: 1.828 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.361e-06/0.2227, allocations: 3.938 kB / 0.5773 GB, free: 1.824 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002739/0.223, allocations: 148.5 kB / 0.5774 GB, free: 1.68 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004366/0.2274, allocations: 1.303 MB / 0.5787 GB, free: 320 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001375/0.2288, allocations: 478.1 kB / 0.5792 GB, free: 15.84 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001959/0.229, allocations: 108.8 kB / 0.5793 GB, free: 15.73 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.55e-05/0.229, allocations: 4 kB / 0.5793 GB, free: 15.72 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/0.2291, allocations: 34.56 kB / 0.5793 GB, free: 15.68 MB / 462.1 MB Notification: Performance of pre-optimization done (n=19): time 1.503e-06/0.2291, allocations: 4 kB / 0.5793 GB, free: 15.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=19): time 0.0008342/0.2299, allocations: 356 kB / 0.5796 GB, free: 15.32 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.949e-05/0.23, allocations: 55.41 kB / 0.5797 GB, free: 15.26 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003663/0.2304, allocations: 286.5 kB / 0.58 GB, free: 14.96 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.004e-05/0.2305, allocations: 37.7 kB / 0.58 GB, free: 14.92 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.2306, allocations: 132.9 kB / 0.5801 GB, free: 14.79 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.2308, allocations: 78.84 kB / 0.5802 GB, free: 14.71 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002173/0.231, allocations: 122.2 kB / 0.5803 GB, free: 14.58 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.2312, allocations: 342.8 kB / 0.5807 GB, free: 14.24 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004453/0.2317, allocations: 269 kB / 0.5809 GB, free: 13.98 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005195/0.2322, allocations: 324.6 kB / 0.5812 GB, free: 13.65 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006988/0.2329, allocations: 438.7 kB / 0.5816 GB, free: 13.22 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.2329, allocations: 0 / 0.5816 GB, free: 13.22 MB / 462.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001105/0.234, allocations: 0.6977 MB / 0.5823 GB, free: 12.52 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.234, allocations: 7.938 kB / 0.5823 GB, free: 12.51 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.2341, allocations: 0 / 0.5823 GB, free: 12.51 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/0.2341, allocations: 4 kB / 0.5823 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007631/0.2349, allocations: 123.8 kB / 0.5824 GB, free: 12.38 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.2349, allocations: 4 kB / 0.5824 GB, free: 12.38 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/0.2363, allocations: 87.44 kB / 0.5825 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.422e-05/0.2364, allocations: 19.98 kB / 0.5826 GB, free: 12.27 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (61): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002842/0.2367, allocations: 161.7 kB / 0.5827 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.819e-05/0.2368, allocations: 27.56 kB / 0.5827 GB, free: 12.08 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.329e-05/0.2369, allocations: 26.19 kB / 0.5828 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.2369, allocations: 0 / 0.5828 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.802e-05/0.237, allocations: 4 kB / 0.5828 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.361e-05/0.237, allocations: 3.984 kB / 0.5828 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007073/0.2377, allocations: 429 kB / 0.5832 GB, free: 11.57 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.2377, allocations: 4 kB / 0.5832 GB, free: 11.57 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004257/0.2382, allocations: 35.97 kB / 0.5832 GB, free: 11.53 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/0.2382, allocations: 11.88 kB / 0.5832 GB, free: 11.52 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.143e-05/0.2382, allocations: 11.98 kB / 0.5832 GB, free: 11.51 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.2383, allocations: 4 kB / 0.5832 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.2383, allocations: 0 / 0.5832 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.2393, allocations: 482.9 kB / 0.5837 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001579/0.2395, allocations: 112.8 kB / 0.5838 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.526e-05/0.2396, allocations: 7.938 kB / 0.5838 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008325/0.2404, allocations: 31.8 kB / 0.5838 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.28e-05/0.2405, allocations: 15.94 kB / 0.5839 GB, free: 10.83 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.062e-05/0.2405, allocations: 8 kB / 0.5839 GB, free: 10.82 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002037/0.2407, allocations: 189.9 kB / 0.584 GB, free: 10.64 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.22e-07/0.2408, allocations: 0 / 0.584 GB, free: 10.64 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005688/0.2413, allocations: 200 kB / 0.5842 GB, free: 10.45 MB / 462.1 MB 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],con.T[5],con.T[6],con.T[7],con.T[8]) * 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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001707/0.2415, allocations: 110.8 kB / 0.5843 GB, free: 10.33 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008618/0.2424, allocations: 463 kB / 0.5848 GB, free: 9.883 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2424, allocations: 0 / 0.5848 GB, free: 9.883 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000195/0.2426, allocations: 118.3 kB / 0.5849 GB, free: 9.77 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00056/0.2432, allocations: 64.59 kB / 0.585 GB, free: 9.703 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/0.2448, allocations: 0.9811 MB / 0.5859 GB, free: 8.699 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/0.2452, allocations: 0.7717 MB / 0.5867 GB, free: 7.902 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002427/0.2455, allocations: 86.2 kB / 0.5868 GB, free: 7.812 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.2456, allocations: 35.42 kB / 0.5868 GB, free: 7.777 MB / 462.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2456, allocations: 0 / 0.5868 GB, free: 7.777 MB / 462.1 MB Notification: Performance of Templates: time 0.01227/0.2579, allocations: 6.04 MB / 0.5927 GB, free: 1.777 MB / 462.1 MB make -j1 -f Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.makefile (rm -f Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe ; mkfifo Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe ; head -c 1048576 < Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe >> ../files/Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.sim & ./Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe 2>&1)