Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001845/0.001845, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00391/0.00391, allocations: 198 kB / 16.54 MB, free: 6.672 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.561/1.561, allocations: 205.1 MB / 222.4 MB, free: 4.613 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.707/1.707, allocations: 292.3 MB / 0.5489 GB, free: 12.84 MB / 462.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.00147/0.00147, allocations: 68.66 kB / 0.6715 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2135, allocations: 114.5 MB / 0.7834 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003559/0.2171, allocations: 1.897 MB / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004039/0.2212, allocations: 3.457 MB / 0.7886 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.2214, allocations: 7.938 kB / 0.7886 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000281/0.2217, allocations: 51.69 kB / 0.7886 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004497/0.2221, allocations: 119.3 kB / 0.7888 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 8.233e-05/0.2222, allocations: 31.89 kB / 0.7888 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000211/0.2224, allocations: 159.3 kB / 0.7889 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.2226, allocations: 33.66 kB / 0.789 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001877/0.2228, allocations: 83.64 kB / 0.7891 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.2229, allocations: 79.61 kB / 0.7891 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.943e-05/0.2229, allocations: 12 kB / 0.7891 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.974e-05/0.223, allocations: 31.92 kB / 0.7892 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.813e-05/0.2231, allocations: 35.84 kB / 0.7892 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.705e-05/0.2232, allocations: 79.53 kB / 0.7893 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002351/0.2235, allocations: 167.2 kB / 0.7894 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2235, allocations: 4 kB / 0.7894 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.395e-06/0.2235, allocations: 0 / 0.7894 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.203e-06/0.2235, allocations: 0 / 0.7894 GB, free: 7.211 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008473/0.2243, allocations: 0.4906 MB / 0.7899 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.2244, allocations: 8.031 kB / 0.7899 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.337e-05/0.2245, allocations: 20.66 kB / 0.79 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003317/0.2248, allocations: 246.8 kB / 0.7902 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.2248, allocations: 8.375 kB / 0.7902 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.87e-05/0.2248, allocations: 4.375 kB / 0.7902 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003376/0.2252, allocations: 137.7 kB / 0.7903 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.2252, allocations: 0 / 0.7903 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.2252, allocations: 11.92 kB / 0.7903 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.423e-05/0.2253, allocations: 8 kB / 0.7904 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004131/0.2257, allocations: 139.8 kB / 0.7905 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006513/0.2263, allocations: 432.6 kB / 0.7909 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003928/0.2267, allocations: 166.5 kB / 0.7911 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002464/0.227, allocations: 96.8 kB / 0.7911 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.05e-05/0.227, allocations: 8.234 kB / 0.7912 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.2271, allocations: 38.48 kB / 0.7912 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.313e-06/0.2271, allocations: 0 / 0.7912 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0008177/0.2279, allocations: 284.3 kB / 0.7915 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/0.2279, allocations: 55.41 kB / 0.7915 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/0.2281, allocations: 209 kB / 0.7917 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.2282, allocations: 33.7 kB / 0.7917 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.749e-05/0.2283, allocations: 120.1 kB / 0.7919 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.04e-05/0.2283, allocations: 39.36 kB / 0.7919 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.195e-05/0.2284, allocations: 33.7 kB / 0.7919 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.2285, allocations: 330.8 kB / 0.7922 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002203/0.2287, allocations: 71.94 kB / 0.7923 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/0.2289, allocations: 75.92 kB / 0.7924 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004637/0.2294, allocations: 164.7 kB / 0.7925 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2294, allocations: 0 / 0.7925 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000541/0.23, allocations: 201.4 kB / 0.7927 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.23, allocations: 4 kB / 0.7927 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.423e-06/0.23, allocations: 0 / 0.7927 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.23, allocations: 4 kB / 0.7927 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002625/0.2303, allocations: 39.91 kB / 0.7928 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.415e-06/0.2303, allocations: 4 kB / 0.7928 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001645/0.2305, allocations: 19.88 kB / 0.7928 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.2305, allocations: 4 kB / 0.7928 GB, free: 3.543 MB / 0.6075 GB 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 (13): * Single equations (assignments): 13 * 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.0001355/0.2307, allocations: 126.4 kB / 0.7929 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.032e-05/0.2307, allocations: 23.73 kB / 0.793 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.901e-05/0.2308, allocations: 25.84 kB / 0.793 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.2308, allocations: 4 kB / 0.793 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.2308, allocations: 0 / 0.793 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.2308, allocations: 7.984 kB / 0.793 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003545/0.2312, allocations: 261.3 kB / 0.7932 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2312, allocations: 3.938 kB / 0.7932 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002459/0.2315, allocations: 35.95 kB / 0.7933 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.2315, allocations: 11.92 kB / 0.7933 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.2315, allocations: 0 / 0.7933 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2315, allocations: 0 / 0.7933 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.2315, allocations: 0 / 0.7933 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006145/0.2321, allocations: 314.7 kB / 0.7936 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/0.2323, allocations: 112.8 kB / 0.7937 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.304e-05/0.2323, allocations: 4 kB / 0.7937 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001784/0.2325, allocations: 15.98 kB / 0.7937 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.259e-05/0.2326, allocations: 11.98 kB / 0.7937 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.2326, allocations: 7.984 kB / 0.7937 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001237/0.2327, allocations: 148.5 kB / 0.7939 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2327, allocations: 4 kB / 0.7939 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002772/0.233, allocations: 39.88 kB / 0.7939 GB, free: 2.316 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.0001885/0.2332, allocations: 103.2 kB / 0.794 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005532/0.2338, allocations: 187.8 kB / 0.7942 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.2338, allocations: 0 / 0.7942 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002402/0.234, allocations: 87.92 kB / 0.7943 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004344/0.2345, allocations: 35.31 kB / 0.7943 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008131/0.2353, allocations: 422 kB / 0.7947 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.2356, allocations: 0.7275 MB / 0.7954 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001638/0.2358, allocations: 44.59 kB / 0.7955 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.246e-05/0.2359, allocations: 19.42 kB / 0.7955 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of SimCode: time 4.81e-07/0.2359, allocations: 0 / 0.7955 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of Templates: time 0.004685/0.2405, allocations: 1.7 MB / 0.7971 GB, free: 14.96 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1)