Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.636/2.636, allocations: 287.3 MB / 302.3 MB, free: 8.324 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.002435/0.002435, allocations: 175 kB / 370.8 MB, free: 10.87 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.347/2.347, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001173/0.001173, allocations: 92.23 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006354/0.0006355, allocations: 15.75 kB / 0.8656 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2084, allocations: 115.3 MB / 0.9782 GB, free: 28.41 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.00219/0.2106, allocations: 1.543 MB / 0.9797 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004265/0.2149, allocations: 3.027 MB / 0.9827 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.2151, allocations: 0 / 0.9827 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002469/0.2154, allocations: 39.81 kB / 0.9827 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004862/0.2159, allocations: 131.5 kB / 0.9828 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 7.334e-05/0.216, allocations: 15.98 kB / 0.9828 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002089/0.2162, allocations: 111.8 kB / 0.9829 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.2163, allocations: 21.67 kB / 0.983 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001948/0.2165, allocations: 75.62 kB / 0.983 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.2167, allocations: 67.69 kB / 0.9831 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.819e-05/0.2167, allocations: 8 kB / 0.9831 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.2168, allocations: 23.97 kB / 0.9831 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.168e-05/0.2169, allocations: 23.86 kB / 0.9832 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.118e-05/0.2169, allocations: 49.64 kB / 0.9832 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.2171, allocations: 111.7 kB / 0.9833 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.2171, allocations: 0 / 0.9833 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2172, allocations: 4 kB / 0.9833 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.2172, allocations: 3.938 kB / 0.9833 GB, free: 23.13 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001011/0.2182, allocations: 498.4 kB / 0.9838 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.2182, allocations: 8.031 kB / 0.9838 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.837e-05/0.2183, allocations: 27.67 kB / 0.9838 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004402/0.2188, allocations: 229.7 kB / 0.984 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.2188, allocations: 0 / 0.984 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/0.2188, allocations: 4 kB / 0.984 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005266/0.2194, allocations: 151.7 kB / 0.9842 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.2194, allocations: 0 / 0.9842 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.034e-05/0.2194, allocations: 0 / 0.9842 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.615e-05/0.2195, allocations: 15.94 kB / 0.9842 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007344/0.2202, allocations: 155.8 kB / 0.9844 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009102/0.2211, allocations: 448.6 kB / 0.9848 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006447/0.2218, allocations: 178.5 kB / 0.985 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.2218, allocations: 0 / 0.985 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.2219, allocations: 46.45 kB / 0.985 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.693e-06/0.2219, allocations: 0 / 0.985 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.00136/0.2233, allocations: 302 kB / 0.9853 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/0.2233, allocations: 55.41 kB / 0.9853 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002212/0.2235, allocations: 205 kB / 0.9855 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.2236, allocations: 25.7 kB / 0.9856 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.852e-05/0.2236, allocations: 120.1 kB / 0.9857 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.226e-05/0.2237, allocations: 47.36 kB / 0.9857 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.491e-05/0.2237, allocations: 0 / 0.9857 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.974e-05/0.2238, allocations: 334.8 kB / 0.986 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003839/0.2242, allocations: 75.94 kB / 0.9861 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003775/0.2246, allocations: 85.81 kB / 0.9862 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003942/0.225, allocations: 87.88 kB / 0.9863 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.225, allocations: 0 / 0.9863 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008827/0.2259, allocations: 221.9 kB / 0.9865 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.226, allocations: 7.953 kB / 0.9865 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.226, allocations: 4 kB / 0.9865 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.226, allocations: 0 / 0.9865 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004235/0.2264, allocations: 35.97 kB / 0.9865 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.2264, allocations: 0 / 0.9865 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003197/0.2268, allocations: 27.81 kB / 0.9866 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.426e-05/0.2268, allocations: 12 kB / 0.9866 GB, free: 19.58 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001243/0.2269, allocations: 125.8 kB / 0.9867 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.386e-05/0.227, allocations: 19.8 kB / 0.9867 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.092e-05/0.2271, allocations: 29.8 kB / 0.9867 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.2271, allocations: 0 / 0.9867 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.2271, allocations: 0 / 0.9867 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.2271, allocations: 7.922 kB / 0.9867 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003201/0.2275, allocations: 261.4 kB / 0.987 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2275, allocations: 0 / 0.987 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003857/0.2279, allocations: 43.95 kB / 0.987 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.2279, allocations: 0 / 0.987 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.207e-05/0.2279, allocations: 4 kB / 0.987 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/0.2279, allocations: 7.953 kB / 0.9871 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.2279, allocations: 4 kB / 0.9871 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009053/0.2288, allocations: 320.2 kB / 0.9874 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.229, allocations: 120.7 kB / 0.9875 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.395e-05/0.229, allocations: 4 kB / 0.9875 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003172/0.2294, allocations: 15.98 kB / 0.9875 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.844e-05/0.2295, allocations: 15.94 kB / 0.9875 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/0.2295, allocations: 7.984 kB / 0.9875 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001483/0.2296, allocations: 148.5 kB / 0.9877 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2297, allocations: 0 / 0.9877 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003757/0.23, allocations: 36 kB / 0.9877 GB, free: 18.34 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001611/0.2302, allocations: 103.2 kB / 0.9878 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008846/0.2311, allocations: 189 kB / 0.988 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2311, allocations: 0 / 0.988 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004152/0.2316, allocations: 99.86 kB / 0.9881 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004005/0.232, allocations: 24.66 kB / 0.9881 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009835/0.233, allocations: 480.2 kB / 0.9885 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001781/0.2332, allocations: 0.7316 MB / 0.9893 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002832/0.2335, allocations: 44.59 kB / 0.9893 GB, free: 16.63 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.276e-05/0.2336, allocations: 23.36 kB / 0.9893 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of SimCode: time 1.112e-06/0.2336, allocations: 0 / 0.9893 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of Templates: time 0.005624/0.2392, allocations: 1.478 MB / 0.9908 GB, free: 15.14 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1)