Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.75/1.75, allocations: 285.7 MB / 293.1 MB, free: 10.23 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.001006/0.001006, allocations: 176.9 kB / 361.4 MB, free: 6.809 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.828/1.828, allocations: 205.2 MB / 0.62 GB, free: 11.63 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.000847/0.000847, allocations: 96.62 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.087e-05/2.088e-05, allocations: 8 kB / 0.8518 GB, free: 2.703 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7422/0.7422, allocations: 115.3 MB / 0.9644 GB, free: 79.1 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9113/1.654, allocations: 362.9 MB / 1.319 GB, free: 239.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/1.654, allocations: 85.12 kB / 1.319 GB, free: 239.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02485/1.679, allocations: 10.71 MB / 1.329 GB, free: 228.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.814e-06/1.679, allocations: 0 / 1.329 GB, free: 228.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.1e-05/1.679, allocations: 4.188 kB / 1.329 GB, free: 228.6 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009307/1.68, allocations: 0.5722 MB / 1.33 GB, free: 227.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/1.68, allocations: 11.53 kB / 1.33 GB, free: 227.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.933e-05/1.68, allocations: 27.67 kB / 1.33 GB, free: 227.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005707/1.681, allocations: 274.5 kB / 1.33 GB, free: 227.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.968e-06/1.681, allocations: 3.938 kB / 1.33 GB, free: 227.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.639e-05/1.681, allocations: 8 kB / 1.33 GB, free: 227.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000191/1.681, allocations: 87.97 kB / 1.33 GB, free: 227.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/1.681, allocations: 110.2 kB / 1.33 GB, free: 227.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/1.681, allocations: 0 / 1.33 GB, free: 227.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.929e-05/1.681, allocations: 4 kB / 1.33 GB, free: 227.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/1.681, allocations: 0 / 1.33 GB, free: 227.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007642/1.682, allocations: 472.9 kB / 1.331 GB, free: 226.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/1.682, allocations: 71.97 kB / 1.331 GB, free: 226.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.076e-05/1.682, allocations: 56.84 kB / 1.331 GB, free: 226.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005348/1.683, allocations: 0.5103 MB / 1.331 GB, free: 226.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/1.683, allocations: 42.56 kB / 1.331 GB, free: 226.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 1.352e-06/1.683, allocations: 0 / 1.331 GB, free: 226.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.0476/1.73, allocations: 3.733 MB / 1.335 GB, free: 222.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/1.73, allocations: 55.41 kB / 1.335 GB, free: 222.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/1.73, allocations: 190.4 kB / 1.335 GB, free: 222.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/1.731, allocations: 29.7 kB / 1.335 GB, free: 222 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.393e-05/1.731, allocations: 144 kB / 1.335 GB, free: 221.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.606e-05/1.731, allocations: 31.47 kB / 1.336 GB, free: 221.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.227e-05/1.731, allocations: 0 / 1.336 GB, free: 221.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.793e-05/1.731, allocations: 338.9 kB / 1.336 GB, free: 221.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.068e-05/1.731, allocations: 45.83 kB / 1.336 GB, free: 221.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.901e-05/1.731, allocations: 43.98 kB / 1.336 GB, free: 221.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04624/1.777, allocations: 3.634 MB / 1.339 GB, free: 217.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.485e-06/1.777, allocations: 3.984 kB / 1.339 GB, free: 217.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.04644/1.824, allocations: 3.731 MB / 1.343 GB, free: 214.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/1.824, allocations: 4 kB / 1.343 GB, free: 214.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/1.824, allocations: 3.984 kB / 1.343 GB, free: 214.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.663e-05/1.824, allocations: 8 kB / 1.343 GB, free: 214 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003258/1.824, allocations: 55.88 kB / 1.343 GB, free: 214 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/1.824, allocations: 0 / 1.343 GB, free: 214 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002212/1.824, allocations: 39.97 kB / 1.343 GB, free: 213.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/1.824, allocations: 3.984 kB / 1.343 GB, free: 213.9 MB / 0.8542 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 7.261e-05/1.824, allocations: 114.6 kB / 1.343 GB, free: 213.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.072e-05/1.824, allocations: 19.72 kB / 1.343 GB, free: 213.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04631/1.871, allocations: 3.767 MB / 1.347 GB, free: 210 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/1.871, allocations: 5.375 kB / 1.347 GB, free: 210 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/1.871, allocations: 0 / 1.347 GB, free: 210 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/1.871, allocations: 0 / 1.347 GB, free: 210 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003057/1.871, allocations: 242 kB / 1.347 GB, free: 209.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/1.871, allocations: 0 / 1.347 GB, free: 209.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002915/1.872, allocations: 59.94 kB / 1.347 GB, free: 209.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/1.872, allocations: 0 / 1.347 GB, free: 209.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/1.872, allocations: 7.562 kB / 1.347 GB, free: 209.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/1.872, allocations: 0 / 1.347 GB, free: 209.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/1.872, allocations: 1.625 kB / 1.347 GB, free: 209.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04725/1.919, allocations: 3.842 MB / 1.351 GB, free: 205.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.148e-05/1.919, allocations: 104.9 kB / 1.351 GB, free: 205.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.805e-05/1.919, allocations: 3.984 kB / 1.351 GB, free: 205.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000247/1.919, allocations: 39.97 kB / 1.351 GB, free: 205.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.496e-05/1.919, allocations: 15.97 kB / 1.351 GB, free: 205.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/1.919, allocations: 0 / 1.351 GB, free: 205.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001309/1.919, allocations: 154 kB / 1.351 GB, free: 205.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.6e-07/1.92, allocations: 4 kB / 1.351 GB, free: 205.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003712/1.92, allocations: 71.77 kB / 1.351 GB, free: 205.4 MB / 0.8542 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0002845/1.92, allocations: 190.2 kB / 1.352 GB, free: 205.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002298/1.92, allocations: 115.8 kB / 1.352 GB, free: 205.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/1.92, allocations: 0 / 1.352 GB, free: 205.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.323e-05/1.921, allocations: 63.98 kB / 1.352 GB, free: 205.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/1.921, allocations: 28.55 kB / 1.352 GB, free: 205 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005024/1.921, allocations: 250.6 kB / 1.352 GB, free: 204.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001556/1.922, allocations: 0.7353 MB / 1.353 GB, free: 204 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001712/1.922, allocations: 44.2 kB / 1.353 GB, free: 204 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.142e-05/1.922, allocations: 15.42 kB / 1.353 GB, free: 203.9 MB / 0.8542 GB Notification: Performance of SimCode: time 2.3e-07/1.922, allocations: 0 / 1.353 GB, free: 203.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.004624/1.926, allocations: 2.49 MB / 1.355 GB, free: 201.5 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)