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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.793/1.793, allocations: 292.6 MB / 307.5 MB, free: 5.215 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.00182/0.00182, allocations: 185 kB / 377.1 MB, free: 1.539 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.065/2.065, allocations: 205.4 MB / 0.6367 GB, free: 8.539 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009675/0.000967, allocations: 94.98 kB / 0.751 GB, free: 63.3 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004477/0.0004478, allocations: 20 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3787/0.3791, allocations: 116.3 MB / 0.9884 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.113/1.493, allocations: 364 MB / 1.344 GB, free: 10.28 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002945/1.493, allocations: 91.95 kB / 1.344 GB, free: 10.19 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.02325/1.516, allocations: 9.42 MB / 1.353 GB, free: 0.793 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.056e-06/1.516, allocations: 0 / 1.353 GB, free: 0.793 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 2.151e-05/1.516, allocations: 0 / 1.353 GB, free: 0.793 MB / 0.9167 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.0009121/1.517, allocations: 494.2 kB / 1.354 GB, free: 272 kB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/1.517, allocations: 8.031 kB / 1.354 GB, free: 264 kB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.347e-05/1.517, allocations: 19.72 kB / 1.354 GB, free: 244 kB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004995/1.518, allocations: 241.7 kB / 1.354 GB, free: 15.97 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/1.518, allocations: 0 / 1.354 GB, free: 15.97 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.859e-05/1.518, allocations: 11.94 kB / 1.354 GB, free: 15.96 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004173/1.518, allocations: 150.8 kB / 1.354 GB, free: 15.8 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/1.518, allocations: 0 / 1.354 GB, free: 15.8 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/1.518, allocations: 0 / 1.354 GB, free: 15.8 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.309e-05/1.518, allocations: 15.98 kB / 1.354 GB, free: 15.79 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004231/1.519, allocations: 147.9 kB / 1.354 GB, free: 15.64 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008507/1.52, allocations: 455.9 kB / 1.355 GB, free: 15.15 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003979/1.52, allocations: 167 kB / 1.355 GB, free: 14.98 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/1.52, allocations: 4 kB / 1.355 GB, free: 14.98 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/1.52, allocations: 34.56 kB / 1.355 GB, free: 14.93 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/1.52, allocations: 0.9375 kB / 1.355 GB, free: 14.93 MB / 0.9323 GB Notification: Performance of matching and sorting (n=13): time 0.0008376/1.521, allocations: 314.3 kB / 1.355 GB, free: 14.62 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/1.521, allocations: 55.41 kB / 1.355 GB, free: 14.55 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/1.521, allocations: 184.2 kB / 1.355 GB, free: 14.37 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/1.521, allocations: 33.7 kB / 1.355 GB, free: 14.33 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 8.98e-05/1.521, allocations: 112.1 kB / 1.355 GB, free: 14.22 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 5.529e-05/1.522, allocations: 51.3 kB / 1.355 GB, free: 14.17 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.037e-06/1.522, allocations: 0 / 1.355 GB, free: 14.17 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001602/1.522, allocations: 330.8 kB / 1.356 GB, free: 13.84 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002423/1.522, allocations: 79.94 kB / 1.356 GB, free: 13.76 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000209/1.522, allocations: 83.19 kB / 1.356 GB, free: 13.68 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002347/1.522, allocations: 83.94 kB / 1.356 GB, free: 13.6 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/1.522, allocations: 0 / 1.356 GB, free: 13.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005306/1.523, allocations: 226.9 kB / 1.356 GB, free: 13.37 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/1.523, allocations: 4.938 kB / 1.356 GB, free: 13.37 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/1.523, allocations: 4.5 kB / 1.356 GB, free: 13.36 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/1.523, allocations: 0 / 1.356 GB, free: 13.36 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002551/1.523, allocations: 39.97 kB / 1.356 GB, free: 13.32 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/1.523, allocations: 4.5 kB / 1.356 GB, free: 13.32 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/1.523, allocations: 20.45 kB / 1.356 GB, free: 13.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/1.524, allocations: 11.98 kB / 1.356 GB, free: 13.29 MB / 0.9323 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.0001367/1.524, allocations: 125.8 kB / 1.356 GB, free: 13.16 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.571e-05/1.524, allocations: 19.81 kB / 1.356 GB, free: 13.14 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.733e-05/1.524, allocations: 29.77 kB / 1.356 GB, free: 13.11 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/1.524, allocations: 0 / 1.356 GB, free: 13.11 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/1.524, allocations: 0 / 1.356 GB, free: 13.11 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-06/1.524, allocations: 4.578 kB / 1.356 GB, free: 13.1 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003239/1.524, allocations: 265.4 kB / 1.357 GB, free: 12.79 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/1.524, allocations: 3.938 kB / 1.357 GB, free: 12.79 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002142/1.524, allocations: 39.97 kB / 1.357 GB, free: 12.75 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/1.524, allocations: 5.547 kB / 1.357 GB, free: 12.75 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/1.524, allocations: 7.984 kB / 1.357 GB, free: 12.74 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/1.524, allocations: 4 kB / 1.357 GB, free: 12.73 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.524, allocations: 0 / 1.357 GB, free: 12.73 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005881/1.525, allocations: 323.1 kB / 1.357 GB, free: 12.41 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/1.525, allocations: 112.9 kB / 1.357 GB, free: 12.28 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.182e-05/1.525, allocations: 0.6562 kB / 1.357 GB, free: 12.28 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/1.525, allocations: 24.42 kB / 1.357 GB, free: 12.25 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.791e-05/1.526, allocations: 11.98 kB / 1.357 GB, free: 12.24 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/1.526, allocations: 4 kB / 1.357 GB, free: 12.24 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001486/1.526, allocations: 152.5 kB / 1.357 GB, free: 12.09 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.4e-07/1.526, allocations: 0 / 1.357 GB, free: 12.09 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0003443/1.526, allocations: 39.91 kB / 1.357 GB, free: 12.05 MB / 0.9323 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.0003125/1.526, allocations: 157.2 kB / 1.358 GB, free: 11.89 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.000519/1.527, allocations: 183.8 kB / 1.358 GB, free: 11.71 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.527, allocations: 0 / 1.358 GB, free: 11.71 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002444/1.527, allocations: 103.9 kB / 1.358 GB, free: 11.61 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/1.527, allocations: 21.81 kB / 1.358 GB, free: 11.58 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008969/1.528, allocations: 488.9 kB / 1.358 GB, free: 11.08 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/1.529, allocations: 0.7355 MB / 1.359 GB, free: 10.32 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001894/1.529, allocations: 46.39 kB / 1.359 GB, free: 10.27 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.069e-05/1.529, allocations: 19.42 kB / 1.359 GB, free: 10.25 MB / 0.9323 GB Notification: Performance of SimCode: time 5.31e-07/1.529, allocations: 0 / 1.359 GB, free: 10.25 MB / 0.9323 GB Notification: Performance of Templates: time 0.005856/1.535, allocations: 2.184 MB / 1.361 GB, free: 8.102 MB / 0.9323 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)