Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.883/1.883, allocations: 292.6 MB / 307.5 MB, free: 5.203 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.001562/0.001562, allocations: 187 kB / 377.1 MB, free: 1.527 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.042/2.042, allocations: 205.4 MB / 0.6367 GB, free: 8.637 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.0009417/0.0009418, allocations: 100 kB / 0.751 GB, free: 62.99 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004372/0.0004373, allocations: 8 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3292, allocations: 116.3 MB / 0.9884 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9751/1.304, allocations: 364.1 MB / 1.344 GB, free: 10.16 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003276/1.305, allocations: 92.47 kB / 1.344 GB, free: 10.07 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.02602/1.331, allocations: 9.541 MB / 1.353 GB, free: 0.5469 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.264e-06/1.331, allocations: 0 / 1.353 GB, free: 0.5469 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 2.145e-05/1.331, allocations: 9.031 kB / 1.353 GB, free: 0.5391 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.0009064/1.332, allocations: 491.8 kB / 1.354 GB, free: 12 kB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/1.332, allocations: 8.031 kB / 1.354 GB, free: 4 kB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.523e-05/1.332, allocations: 20.83 kB / 1.354 GB, free: 15.98 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000497/1.332, allocations: 245.1 kB / 1.354 GB, free: 15.71 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/1.333, allocations: 7.938 kB / 1.354 GB, free: 15.7 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.696e-05/1.333, allocations: 7.984 kB / 1.354 GB, free: 15.7 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003729/1.333, allocations: 151.1 kB / 1.354 GB, free: 15.54 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/1.333, allocations: 0 / 1.354 GB, free: 15.54 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/1.333, allocations: 4 kB / 1.354 GB, free: 15.54 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.187e-05/1.333, allocations: 11.98 kB / 1.354 GB, free: 15.53 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000433/1.333, allocations: 157.6 kB / 1.354 GB, free: 15.38 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000799/1.334, allocations: 464 kB / 1.355 GB, free: 14.88 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004299/1.335, allocations: 187.2 kB / 1.355 GB, free: 14.68 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/1.335, allocations: 0 / 1.355 GB, free: 14.68 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/1.335, allocations: 34.56 kB / 1.355 GB, free: 14.64 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=13): time 1.032e-06/1.335, allocations: 4 kB / 1.355 GB, free: 14.64 MB / 0.9323 GB Notification: Performance of matching and sorting (n=13): time 0.0008597/1.336, allocations: 319 kB / 1.355 GB, free: 14.32 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/1.336, allocations: 55.41 kB / 1.355 GB, free: 14.25 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/1.336, allocations: 188.2 kB / 1.356 GB, free: 14.07 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/1.336, allocations: 25.7 kB / 1.356 GB, free: 14.04 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 8.947e-05/1.336, allocations: 124.1 kB / 1.356 GB, free: 13.91 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 5.117e-05/1.336, allocations: 47.3 kB / 1.356 GB, free: 13.86 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.52e-05/1.336, allocations: 4 kB / 1.356 GB, free: 13.86 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001423/1.336, allocations: 330.8 kB / 1.356 GB, free: 13.53 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002235/1.337, allocations: 79.94 kB / 1.356 GB, free: 13.45 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002145/1.337, allocations: 84.69 kB / 1.356 GB, free: 13.37 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002308/1.337, allocations: 95.31 kB / 1.356 GB, free: 13.28 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/1.337, allocations: 0 / 1.356 GB, free: 13.28 MB / 0.9323 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005308/1.338, allocations: 226.3 kB / 1.357 GB, free: 13.05 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/1.338, allocations: 8.719 kB / 1.357 GB, free: 13.04 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/1.338, allocations: 0 / 1.357 GB, free: 13.04 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/1.338, allocations: 4 kB / 1.357 GB, free: 13.04 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002766/1.338, allocations: 39.95 kB / 1.357 GB, free: 13 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/1.338, allocations: 7.953 kB / 1.357 GB, free: 12.99 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001811/1.338, allocations: 24.52 kB / 1.357 GB, free: 12.97 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/1.338, allocations: 0 / 1.357 GB, free: 12.97 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.0001471/1.338, allocations: 129.8 kB / 1.357 GB, free: 12.83 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.792e-05/1.338, allocations: 15.81 kB / 1.357 GB, free: 12.82 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.97e-05/1.338, allocations: 31.33 kB / 1.357 GB, free: 12.79 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/1.338, allocations: 3.984 kB / 1.357 GB, free: 12.78 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/1.338, allocations: 8.5 kB / 1.357 GB, free: 12.77 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/1.338, allocations: 3.953 kB / 1.357 GB, free: 12.77 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003408/1.339, allocations: 273.2 kB / 1.357 GB, free: 12.45 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/1.339, allocations: 0 / 1.357 GB, free: 12.45 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002374/1.339, allocations: 40.58 kB / 1.357 GB, free: 12.41 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/1.339, allocations: 0 / 1.357 GB, free: 12.41 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/1.339, allocations: 4 kB / 1.357 GB, free: 12.41 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/1.339, allocations: 0 / 1.357 GB, free: 12.41 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.339, allocations: 4.75 kB / 1.357 GB, free: 12.41 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006214/1.34, allocations: 335.2 kB / 1.357 GB, free: 12.06 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/1.34, allocations: 112.8 kB / 1.358 GB, free: 11.93 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.239e-05/1.34, allocations: 3.938 kB / 1.358 GB, free: 11.93 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001975/1.34, allocations: 23.97 kB / 1.358 GB, free: 11.91 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.892e-05/1.34, allocations: 7.984 kB / 1.358 GB, free: 11.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/1.34, allocations: 9.344 kB / 1.358 GB, free: 11.89 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001586/1.34, allocations: 156.5 kB / 1.358 GB, free: 11.73 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.2e-07/1.34, allocations: 0 / 1.358 GB, free: 11.73 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0002976/1.341, allocations: 43.94 kB / 1.358 GB, free: 11.69 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.0002898/1.341, allocations: 152 kB / 1.358 GB, free: 11.54 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0005199/1.342, allocations: 187.8 kB / 1.358 GB, free: 11.35 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/1.342, allocations: 0 / 1.358 GB, free: 11.35 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0003087/1.342, allocations: 103.8 kB / 1.358 GB, free: 11.25 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/1.342, allocations: 26.77 kB / 1.358 GB, free: 11.23 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008717/1.343, allocations: 0.4885 MB / 1.359 GB, free: 10.72 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/1.343, allocations: 0.7355 MB / 1.359 GB, free: 9.957 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0002044/1.344, allocations: 58.47 kB / 1.359 GB, free: 9.902 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.413e-05/1.344, allocations: 19.42 kB / 1.36 GB, free: 9.883 MB / 0.9323 GB Notification: Performance of SimCode: time 6.01e-07/1.344, allocations: 0 / 1.36 GB, free: 9.883 MB / 0.9323 GB Notification: Performance of Templates: time 0.0057/1.349, allocations: 2.294 MB / 1.362 GB, free: 7.617 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1)