Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.8/1.8, allocations: 293 MB / 309 MB, free: 4.816 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.00104/0.00104, allocations: 168.5 kB / 378.7 MB, free: 1.031 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.814/1.814, allocations: 205.4 MB / 0.6383 GB, free: 8.145 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.0007393/0.0007391, allocations: 95.48 kB / 0.7527 GB, free: 62.87 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004099/0.0004099, allocations: 16 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2917, allocations: 116.4 MB / 0.9905 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9379/1.23, allocations: 364.7 MB / 1.347 GB, free: 8.516 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/1.23, allocations: 93.36 kB / 1.347 GB, free: 8.426 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.02852/1.259, allocations: 10.84 MB / 1.357 GB, free: 13.63 MB / 0.9323 GB Notification: Performance of FrontEnd: time 4.258e-06/1.259, allocations: 4 kB / 1.357 GB, free: 13.62 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.162e-05/1.259, allocations: 0.8438 kB / 1.357 GB, free: 13.62 MB / 0.9323 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.001488/1.26, allocations: 0.6125 MB / 1.358 GB, free: 12.96 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.83e-05/1.26, allocations: 8.031 kB / 1.358 GB, free: 12.96 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/1.26, allocations: 24.66 kB / 1.358 GB, free: 12.93 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007724/1.261, allocations: 279.6 kB / 1.358 GB, free: 12.62 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/1.261, allocations: 13.44 kB / 1.358 GB, free: 12.61 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.33e-05/1.261, allocations: 8.312 kB / 1.358 GB, free: 12.6 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005798/1.262, allocations: 190.4 kB / 1.358 GB, free: 12.41 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/1.262, allocations: 4.188 kB / 1.358 GB, free: 12.41 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.586e-05/1.262, allocations: 9.062 kB / 1.358 GB, free: 12.4 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/1.262, allocations: 0 / 1.358 GB, free: 12.4 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006806/1.263, allocations: 231.8 kB / 1.359 GB, free: 12.18 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/1.264, allocations: 0.4886 MB / 1.359 GB, free: 11.64 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000429/1.264, allocations: 151.1 kB / 1.359 GB, free: 11.48 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003543/1.264, allocations: 124.8 kB / 1.359 GB, free: 11.36 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007829/1.265, allocations: 0.5103 MB / 1.36 GB, free: 10.73 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/1.265, allocations: 38.78 kB / 1.36 GB, free: 10.69 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=11): time 2.285e-06/1.265, allocations: 3.938 kB / 1.36 GB, free: 10.68 MB / 0.9323 GB Notification: Performance of matching and sorting (n=11): time 0.001325/1.267, allocations: 413.9 kB / 1.36 GB, free: 10.27 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.473e-05/1.267, allocations: 55.41 kB / 1.36 GB, free: 10.21 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003393/1.267, allocations: 230.7 kB / 1.361 GB, free: 9.973 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/1.267, allocations: 26.83 kB / 1.361 GB, free: 9.941 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/1.267, allocations: 144 kB / 1.361 GB, free: 9.797 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 5.949e-05/1.267, allocations: 35.45 kB / 1.361 GB, free: 9.762 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.212e-05/1.267, allocations: 4 kB / 1.361 GB, free: 9.758 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002046/1.268, allocations: 330.8 kB / 1.361 GB, free: 9.426 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003516/1.268, allocations: 119.9 kB / 1.361 GB, free: 9.309 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000345/1.268, allocations: 125.8 kB / 1.361 GB, free: 9.188 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006611/1.269, allocations: 240.6 kB / 1.362 GB, free: 8.949 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/1.269, allocations: 0 / 1.362 GB, free: 8.949 MB / 0.9323 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007999/1.27, allocations: 298.5 kB / 1.362 GB, free: 8.652 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/1.27, allocations: 8 kB / 1.362 GB, free: 8.645 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/1.27, allocations: 0 / 1.362 GB, free: 8.645 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.397e-05/1.27, allocations: 5.719 kB / 1.362 GB, free: 8.641 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003385/1.27, allocations: 59.94 kB / 1.362 GB, free: 8.582 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/1.27, allocations: 0 / 1.362 GB, free: 8.582 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00026/1.271, allocations: 39.91 kB / 1.362 GB, free: 8.543 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.319e-05/1.271, allocations: 12.47 kB / 1.362 GB, free: 8.531 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 (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 0.0001702/1.271, allocations: 129.8 kB / 1.362 GB, free: 8.395 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.01e-05/1.271, allocations: 19.72 kB / 1.362 GB, free: 8.375 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009179/1.272, allocations: 324.5 kB / 1.362 GB, free: 8.047 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/1.272, allocations: 0 / 1.362 GB, free: 8.047 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.272, allocations: 0 / 1.362 GB, free: 8.047 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/1.272, allocations: 0 / 1.362 GB, free: 8.047 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003763/1.272, allocations: 277.8 kB / 1.363 GB, free: 7.727 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/1.272, allocations: 8 kB / 1.363 GB, free: 7.719 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002825/1.273, allocations: 60.31 kB / 1.363 GB, free: 7.66 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/1.273, allocations: 0 / 1.363 GB, free: 7.66 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.246e-05/1.273, allocations: 8 kB / 1.363 GB, free: 7.652 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/1.273, allocations: 0 / 1.363 GB, free: 7.652 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.273, allocations: 0.75 kB / 1.363 GB, free: 7.652 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007981/1.273, allocations: 402.2 kB / 1.363 GB, free: 7.246 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/1.274, allocations: 113.8 kB / 1.363 GB, free: 7.117 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.266e-05/1.274, allocations: 4 kB / 1.363 GB, free: 7.113 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002424/1.274, allocations: 39.95 kB / 1.363 GB, free: 7.074 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.086e-05/1.274, allocations: 15.98 kB / 1.363 GB, free: 7.059 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/1.274, allocations: 4.672 kB / 1.363 GB, free: 7.055 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001549/1.274, allocations: 169.9 kB / 1.363 GB, free: 6.891 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.4e-07/1.274, allocations: 0 / 1.363 GB, free: 6.891 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0003991/1.275, allocations: 75.77 kB / 1.363 GB, free: 6.816 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 (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.0004497/1.275, allocations: 183.6 kB / 1.364 GB, free: 6.629 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0007843/1.276, allocations: 260.9 kB / 1.364 GB, free: 6.375 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.276, allocations: 0 / 1.364 GB, free: 6.375 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0003741/1.276, allocations: 135.8 kB / 1.364 GB, free: 6.242 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004088/1.277, allocations: 28.55 kB / 1.364 GB, free: 6.219 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009537/1.278, allocations: 494.2 kB / 1.365 GB, free: 5.711 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/1.278, allocations: 0.7364 MB / 1.365 GB, free: 4.949 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.00021/1.278, allocations: 39.19 kB / 1.365 GB, free: 4.91 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.944e-05/1.278, allocations: 19.42 kB / 1.365 GB, free: 4.891 MB / 0.9323 GB Notification: Performance of SimCode: time 5.31e-07/1.278, allocations: 0 / 1.365 GB, free: 4.891 MB / 0.9323 GB Notification: Performance of Templates: time 0.006883/1.285, allocations: 3.001 MB / 1.368 GB, free: 1.918 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)