Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.128/2.128, allocations: 251.1 MB / 266.7 MB, free: 11.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001294/0.001293, allocations: 188 kB / 326.3 MB, free: 2.859 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.363/2.363, allocations: 205.4 MB / 0.5772 GB, free: 20.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009477/0.0009474, allocations: 90.69 kB / 0.6817 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004602/0.0004605, allocations: 11.69 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2077, allocations: 106.3 MB / 0.8995 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.149/1.357, allocations: 355.9 MB / 1.247 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003168/1.358, allocations: 90.14 kB / 1.247 GB, free: 13.68 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.04544/1.403, allocations: 10.68 MB / 1.258 GB, free: 4.902 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.174e-06/1.403, allocations: 0 / 1.258 GB, free: 4.902 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.933e-05/1.403, allocations: 4 kB / 1.258 GB, free: 4.898 MB / 0.7605 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.001819/1.405, allocations: 0.6076 MB / 1.258 GB, free: 4.254 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/1.405, allocations: 8.031 kB / 1.258 GB, free: 4.246 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.846e-05/1.405, allocations: 28.56 kB / 1.258 GB, free: 4.219 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009653/1.406, allocations: 270.3 kB / 1.258 GB, free: 3.93 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/1.406, allocations: 11.75 kB / 1.258 GB, free: 3.922 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.451e-05/1.406, allocations: 11.88 kB / 1.258 GB, free: 3.914 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009106/1.407, allocations: 183.2 kB / 1.259 GB, free: 3.754 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/1.407, allocations: 4.188 kB / 1.259 GB, free: 3.75 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.201e-05/1.407, allocations: 7.438 kB / 1.259 GB, free: 3.746 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/1.407, allocations: 3.984 kB / 1.259 GB, free: 3.742 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001335/1.409, allocations: 232.3 kB / 1.259 GB, free: 3.547 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001397/1.41, allocations: 0.4887 MB / 1.259 GB, free: 3.078 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007671/1.411, allocations: 155.4 kB / 1.259 GB, free: 2.938 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006859/1.411, allocations: 130.2 kB / 1.26 GB, free: 2.832 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001051/1.413, allocations: 0.5062 MB / 1.26 GB, free: 2.219 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/1.413, allocations: 34.56 kB / 1.26 GB, free: 2.176 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=11): time 2.836e-06/1.413, allocations: 0 / 1.26 GB, free: 2.176 MB / 0.7605 GB Notification: Performance of matching and sorting (n=11): time 0.002324/1.415, allocations: 414 kB / 1.261 GB, free: 1.82 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/1.415, allocations: 59.09 kB / 1.261 GB, free: 1.754 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003588/1.415, allocations: 227.1 kB / 1.261 GB, free: 1.551 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.786e-05/1.415, allocations: 29.14 kB / 1.261 GB, free: 1.52 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/1.416, allocations: 144.6 kB / 1.261 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 7.757e-05/1.416, allocations: 39.19 kB / 1.261 GB, free: 1.375 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.96e-05/1.416, allocations: 3.938 kB / 1.261 GB, free: 1.371 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001583/1.416, allocations: 337.8 kB / 1.261 GB, free: 1.043 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006749/1.417, allocations: 113.8 kB / 1.261 GB, free: 0.9492 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006645/1.417, allocations: 122.7 kB / 1.262 GB, free: 0.8477 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006863/1.418, allocations: 118.5 kB / 1.262 GB, free: 0.75 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/1.418, allocations: 3.938 kB / 1.262 GB, free: 0.7461 MB / 0.7605 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.001552/1.42, allocations: 305.3 kB / 1.262 GB, free: 492 kB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/1.42, allocations: 5.562 kB / 1.262 GB, free: 488 kB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/1.42, allocations: 0 / 1.262 GB, free: 488 kB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/1.42, allocations: 0 / 1.262 GB, free: 488 kB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006174/1.42, allocations: 59.89 kB / 1.262 GB, free: 428 kB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/1.42, allocations: 3.984 kB / 1.262 GB, free: 424 kB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004466/1.421, allocations: 39.41 kB / 1.262 GB, free: 388 kB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.294e-05/1.421, allocations: 7.938 kB / 1.262 GB, free: 380 kB / 0.7605 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.0002044/1.421, allocations: 130.2 kB / 1.262 GB, free: 248 kB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.035e-05/1.421, allocations: 23.7 kB / 1.262 GB, free: 224 kB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001675/1.423, allocations: 332.6 kB / 1.263 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/1.423, allocations: 0 / 1.263 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/1.423, allocations: 0 / 1.263 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/1.423, allocations: 3.938 kB / 1.263 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004823/1.423, allocations: 273.5 kB / 1.263 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/1.423, allocations: 0 / 1.263 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005601/1.424, allocations: 55.94 kB / 1.263 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.667e-06/1.424, allocations: 4 kB / 1.263 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.754e-05/1.424, allocations: 7.672 kB / 1.263 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/1.424, allocations: 0 / 1.263 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/1.424, allocations: 0 / 1.263 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001582/1.426, allocations: 403.2 kB / 1.263 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001614/1.426, allocations: 112.2 kB / 1.263 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.504e-05/1.426, allocations: 3.625 kB / 1.263 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005/1.426, allocations: 39.91 kB / 1.263 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.132e-05/1.426, allocations: 19.53 kB / 1.263 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.377e-05/1.426, allocations: 0 / 1.263 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002394/1.427, allocations: 179.8 kB / 1.264 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4.4e-07/1.427, allocations: 0 / 1.264 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0005106/1.427, allocations: 63.81 kB / 1.264 GB, free: 14.84 MB / 0.7761 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.000424/1.428, allocations: 188.5 kB / 1.264 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001468/1.429, allocations: 263.6 kB / 1.264 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.429, allocations: 0 / 1.264 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.000728/1.43, allocations: 134.3 kB / 1.264 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005618/1.431, allocations: 32.38 kB / 1.264 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/1.432, allocations: 491.2 kB / 1.265 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004133/1.432, allocations: 0.7392 MB / 1.265 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0003612/1.433, allocations: 36.84 kB / 1.265 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/1.433, allocations: 15.42 kB / 1.265 GB, free: 13 MB / 0.7761 GB Notification: Performance of SimCode: time 1.142e-06/1.433, allocations: 0 / 1.265 GB, free: 13 MB / 0.7761 GB Notification: Performance of Templates: time 0.01028/1.443, allocations: 2.988 MB / 1.268 GB, free: 10.04 MB / 0.7761 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)