Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.792/1.792, allocations: 288.4 MB / 303.4 MB, free: 8.227 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.001175/0.001175, allocations: 191.2 kB / 372 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.675/1.675, allocations: 205.4 MB / 0.6307 GB, free: 9.957 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.001051/0.001051, allocations: 105.1 kB / 0.7441 GB, free: 5.875 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005247/0.0005252, allocations: 11.62 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2329, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.00201/0.235, allocations: 1.574 MB / 0.9811 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003638/0.2387, allocations: 3.229 MB / 0.9843 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001588/0.2388, allocations: 4 kB / 0.9843 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002708/0.2391, allocations: 35.77 kB / 0.9843 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005189/0.2397, allocations: 115.4 kB / 0.9844 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 8.586e-05/0.2398, allocations: 15.92 kB / 0.9844 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002432/0.24, allocations: 163.3 kB / 0.9846 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.2401, allocations: 25.69 kB / 0.9846 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002089/0.2404, allocations: 71.69 kB / 0.9847 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.2405, allocations: 71.62 kB / 0.9848 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.062e-05/0.2406, allocations: 11.98 kB / 0.9848 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.902e-05/0.2407, allocations: 31.92 kB / 0.9848 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.598e-05/0.2407, allocations: 27.91 kB / 0.9848 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.594e-05/0.2408, allocations: 53.58 kB / 0.9849 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001496/0.2409, allocations: 103.8 kB / 0.985 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2409, allocations: 0 / 0.985 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.445e-06/0.241, allocations: 0 / 0.985 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.646e-06/0.241, allocations: 0 / 0.985 GB, free: 22.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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007601/0.2417, allocations: 0.4944 MB / 0.9855 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.2418, allocations: 8.031 kB / 0.9855 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.658e-05/0.2418, allocations: 19.77 kB / 0.9855 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003253/0.2422, allocations: 241.7 kB / 0.9857 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.2422, allocations: 0 / 0.9857 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/0.2422, allocations: 15.88 kB / 0.9857 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003303/0.2426, allocations: 133.6 kB / 0.9859 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.2426, allocations: 3.984 kB / 0.9859 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.2426, allocations: 8 kB / 0.9859 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.853e-05/0.2426, allocations: 11.98 kB / 0.9859 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004051/0.2431, allocations: 151.9 kB / 0.986 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006062/0.2437, allocations: 460.3 kB / 0.9865 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003664/0.244, allocations: 162.5 kB / 0.9866 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002327/0.2443, allocations: 114.5 kB / 0.9867 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.2443, allocations: 4 kB / 0.9867 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.834e-05/0.2443, allocations: 34.56 kB / 0.9868 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.2444, allocations: 0 / 0.9868 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0007676/0.2451, allocations: 309.4 kB / 0.9871 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.2452, allocations: 55.41 kB / 0.9871 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.2453, allocations: 205 kB / 0.9873 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.2453, allocations: 29.7 kB / 0.9873 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.871e-05/0.2454, allocations: 120.1 kB / 0.9874 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.852e-05/0.2455, allocations: 47.34 kB / 0.9875 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.648e-06/0.2455, allocations: 4 kB / 0.9875 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.367e-05/0.2455, allocations: 330.8 kB / 0.9878 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002116/0.2458, allocations: 71.94 kB / 0.9879 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.246, allocations: 82.31 kB / 0.988 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000239/0.2462, allocations: 87.94 kB / 0.988 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.2462, allocations: 4 kB / 0.988 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004753/0.2467, allocations: 225.2 kB / 0.9883 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.2467, allocations: 8 kB / 0.9883 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.2468, allocations: 0 / 0.9883 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.2468, allocations: 3.953 kB / 0.9883 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002423/0.247, allocations: 39.97 kB / 0.9883 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.247, allocations: 0 / 0.9883 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/0.2472, allocations: 31.91 kB / 0.9883 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.2472, allocations: 7.938 kB / 0.9884 GB, free: 18.42 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 9.513e-05/0.2473, allocations: 129.8 kB / 0.9885 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.094e-05/0.2474, allocations: 15.81 kB / 0.9885 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.767e-05/0.2474, allocations: 25.84 kB / 0.9885 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.2474, allocations: 7.953 kB / 0.9885 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.2474, allocations: 0 / 0.9885 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.2475, allocations: 3.984 kB / 0.9885 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002225/0.2477, allocations: 257.5 kB / 0.9888 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.2477, allocations: 0 / 0.9888 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002107/0.2479, allocations: 39.95 kB / 0.9888 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.2479, allocations: 4 kB / 0.9888 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.2479, allocations: 3.938 kB / 0.9888 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.2479, allocations: 0 / 0.9888 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.248, allocations: 3.953 kB / 0.9888 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005189/0.2485, allocations: 331.9 kB / 0.9891 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.181e-05/0.2486, allocations: 112.7 kB / 0.9892 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.94e-05/0.2486, allocations: 8 kB / 0.9893 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/0.2488, allocations: 11.98 kB / 0.9893 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.564e-05/0.2488, allocations: 11.98 kB / 0.9893 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.2489, allocations: 11.94 kB / 0.9893 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001038/0.249, allocations: 156.5 kB / 0.9894 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.249, allocations: 0 / 0.9894 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002513/0.2492, allocations: 32 kB / 0.9895 GB, free: 17.19 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.0001458/0.2494, allocations: 103.2 kB / 0.9896 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004856/0.2499, allocations: 185.4 kB / 0.9897 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2499, allocations: 0 / 0.9897 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002341/0.2501, allocations: 107.9 kB / 0.9898 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003934/0.2505, allocations: 20.66 kB / 0.9899 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007031/0.2513, allocations: 489.4 kB / 0.9903 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001452/0.2514, allocations: 0.7238 MB / 0.991 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001736/0.2516, allocations: 48.58 kB / 0.9911 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.418e-05/0.2517, allocations: 19.42 kB / 0.9911 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of SimCode: time 4.91e-07/0.2517, allocations: 4 kB / 0.9911 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of Templates: time 0.004021/0.2557, allocations: 1.487 MB / 0.9926 GB, free: 13.98 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1)