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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008015/0.0008015, allocations: 91.77 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009063/0.0009063, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.34/1.34, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.641/1.641, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005138/0.0005139, allocations: 12.22 kB / 0.6737 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.1952, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002295/0.1975, allocations: 1.59 MB / 0.7888 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003916/0.2015, allocations: 3.213 MB / 0.792 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.2016, allocations: 4 kB / 0.792 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002367/0.2019, allocations: 47.75 kB / 0.792 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004584/0.2024, allocations: 119.4 kB / 0.7921 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 6.744e-05/0.2024, allocations: 15.98 kB / 0.7922 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000196/0.2026, allocations: 167.2 kB / 0.7923 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.813e-05/0.2027, allocations: 25.67 kB / 0.7923 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/0.2029, allocations: 75.7 kB / 0.7924 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.2031, allocations: 75.62 kB / 0.7925 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.463e-05/0.2031, allocations: 8 kB / 0.7925 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.78e-05/0.2032, allocations: 23.97 kB / 0.7925 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.944e-05/0.2032, allocations: 31.83 kB / 0.7925 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.626e-05/0.2033, allocations: 49.64 kB / 0.7926 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001344/0.2034, allocations: 111.8 kB / 0.7927 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2035, allocations: 3.938 kB / 0.7927 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2035, allocations: 3.938 kB / 0.7927 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.978e-06/0.2035, allocations: 0 / 0.7927 GB, free: 6.355 MB / 0.6075 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.0007687/0.2042, allocations: 0.5022 MB / 0.7932 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.2043, allocations: 12.03 kB / 0.7932 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.877e-05/0.2043, allocations: 19.77 kB / 0.7932 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003183/0.2047, allocations: 233.8 kB / 0.7934 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.2047, allocations: 7.984 kB / 0.7935 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.2047, allocations: 4 kB / 0.7935 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003278/0.205, allocations: 152.5 kB / 0.7936 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.2051, allocations: 0 / 0.7936 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.2051, allocations: 0 / 0.7936 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.452e-05/0.2051, allocations: 12 kB / 0.7936 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004052/0.2055, allocations: 159.8 kB / 0.7938 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006707/0.2062, allocations: 468.5 kB / 0.7942 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003859/0.2066, allocations: 186.4 kB / 0.7944 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002419/0.2068, allocations: 112.8 kB / 0.7945 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.2069, allocations: 4 kB / 0.7945 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.2069, allocations: 34.56 kB / 0.7945 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.062e-06/0.2069, allocations: 0 / 0.7945 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0007605/0.2077, allocations: 320.7 kB / 0.7948 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.2077, allocations: 55.34 kB / 0.7949 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.2079, allocations: 217 kB / 0.7951 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.2079, allocations: 29.7 kB / 0.7951 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.108e-05/0.208, allocations: 120 kB / 0.7952 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.298e-05/0.2081, allocations: 47.38 kB / 0.7953 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.287e-06/0.2081, allocations: 0 / 0.7953 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.2082, allocations: 334.8 kB / 0.7956 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002024/0.2084, allocations: 79.94 kB / 0.7957 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002025/0.2086, allocations: 83.94 kB / 0.7958 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002134/0.2089, allocations: 91.88 kB / 0.7959 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2089, allocations: 0 / 0.7959 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004842/0.2094, allocations: 237.3 kB / 0.7961 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.2094, allocations: 4 kB / 0.7961 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.2094, allocations: 0 / 0.7961 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.2094, allocations: 7.953 kB / 0.7961 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002439/0.2097, allocations: 39.91 kB / 0.7961 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.2097, allocations: 0 / 0.7961 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.2098, allocations: 19.97 kB / 0.7961 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.2098, allocations: 8 kB / 0.7962 GB, free: 2.605 MB / 0.6075 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.0001041/0.2099, allocations: 130.5 kB / 0.7963 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.064e-05/0.21, allocations: 23.72 kB / 0.7963 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.26e-05/0.21, allocations: 21.84 kB / 0.7963 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.2101, allocations: 7.891 kB / 0.7963 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.2101, allocations: 0 / 0.7963 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.2101, allocations: 3.984 kB / 0.7963 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002551/0.2103, allocations: 261.5 kB / 0.7966 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.2103, allocations: 4 kB / 0.7966 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002162/0.2106, allocations: 43.91 kB / 0.7966 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.2106, allocations: 4 kB / 0.7966 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.2106, allocations: 3.984 kB / 0.7966 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.2106, allocations: 0 / 0.7966 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2106, allocations: 3.953 kB / 0.7966 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005335/0.2112, allocations: 332 kB / 0.797 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.481e-05/0.2113, allocations: 104.9 kB / 0.7971 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.102e-05/0.2113, allocations: 8 kB / 0.7971 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.2115, allocations: 15.98 kB / 0.7971 GB, free: 1.562 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.809e-05/0.2115, allocations: 11.98 kB / 0.7971 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.2115, allocations: 11.94 kB / 0.7971 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001254/0.2117, allocations: 152.5 kB / 0.7973 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2117, allocations: 3.938 kB / 0.7973 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002617/0.2119, allocations: 40 kB / 0.7973 GB, free: 1.348 MB / 0.6075 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.000141/0.2121, allocations: 111.2 kB / 0.7974 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004839/0.2126, allocations: 190.1 kB / 0.7976 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.2126, allocations: 0 / 0.7976 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002254/0.2128, allocations: 107.8 kB / 0.7977 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/0.2132, allocations: 32.41 kB / 0.7977 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007371/0.214, allocations: 0.4935 MB / 0.7982 GB, free: 400 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.2143, allocations: 0.7353 MB / 0.7989 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001685/0.2145, allocations: 48.58 kB / 0.799 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.653e-05/0.2145, allocations: 19.42 kB / 0.799 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of SimCode: time 2.7e-07/0.2145, allocations: 0 / 0.799 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of Templates: time 0.003835/0.2184, allocations: 1.598 MB / 0.8005 GB, free: 13.98 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: