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.001141/0.001141, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001249/0.001249, allocations: 177.3 kB / 15.94 MB, free: 228 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.298/1.298, 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.589/1.589, allocations: 292.5 MB / 0.5497 GB, free: 14.63 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.0004917/0.0004917, allocations: 10.97 kB / 0.6735 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2081, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002026/0.2102, allocations: 1.551 MB / 0.7886 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003447/0.2136, allocations: 3.027 MB / 0.7916 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.629e-05/0.2137, allocations: 0 / 0.7916 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002131/0.214, allocations: 43.75 kB / 0.7916 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000372/0.2144, allocations: 123.6 kB / 0.7917 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.516e-05/0.2144, allocations: 23.95 kB / 0.7918 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.2146, allocations: 119.7 kB / 0.7919 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.2147, allocations: 21.67 kB / 0.7919 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001715/0.2149, allocations: 75.64 kB / 0.792 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.215, allocations: 71.67 kB / 0.792 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.215, allocations: 8 kB / 0.7921 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.186e-05/0.2151, allocations: 19.98 kB / 0.7921 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.875e-05/0.2152, allocations: 31.83 kB / 0.7921 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.881e-05/0.2152, allocations: 49.64 kB / 0.7922 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.2154, allocations: 107.8 kB / 0.7923 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.2154, allocations: 0 / 0.7923 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.462e-06/0.2154, allocations: 4 kB / 0.7923 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.2154, allocations: 0 / 0.7923 GB, free: 6.672 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.0008908/0.2163, allocations: 0.5061 MB / 0.7928 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.2164, allocations: 8.031 kB / 0.7928 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.158e-05/0.2164, allocations: 23.77 kB / 0.7928 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003279/0.2168, allocations: 229.8 kB / 0.793 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.2168, allocations: 8 kB / 0.793 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.2168, allocations: 4 kB / 0.793 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003495/0.2172, allocations: 149.5 kB / 0.7932 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.2172, allocations: 3.938 kB / 0.7932 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/0.2172, allocations: 0 / 0.7932 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.015e-05/0.2173, allocations: 15.92 kB / 0.7932 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004286/0.2177, allocations: 163.8 kB / 0.7933 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006826/0.2184, allocations: 464.5 kB / 0.7938 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004005/0.2188, allocations: 190.4 kB / 0.794 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.2188, allocations: 0 / 0.794 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.2189, allocations: 34.55 kB / 0.794 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.001e-06/0.2189, allocations: 0 / 0.794 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0008607/0.2197, allocations: 321.7 kB / 0.7943 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.2198, allocations: 55.41 kB / 0.7943 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002131/0.22, allocations: 209 kB / 0.7945 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.22, allocations: 25.7 kB / 0.7946 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.703e-05/0.2201, allocations: 124 kB / 0.7947 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.718e-05/0.2202, allocations: 47.38 kB / 0.7947 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.024e-05/0.2202, allocations: 3.938 kB / 0.7947 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.2204, allocations: 338.8 kB / 0.7951 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000221/0.2206, allocations: 79.94 kB / 0.7951 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002207/0.2209, allocations: 83.94 kB / 0.7952 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002244/0.2211, allocations: 83.94 kB / 0.7953 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2211, allocations: 0 / 0.7953 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005214/0.2216, allocations: 235.8 kB / 0.7955 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.2217, allocations: 8 kB / 0.7955 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.2217, allocations: 0 / 0.7955 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.2217, allocations: 7.953 kB / 0.7955 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002447/0.2219, allocations: 43.89 kB / 0.7956 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.222, allocations: 0 / 0.7956 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001618/0.2221, allocations: 23.98 kB / 0.7956 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.2221, allocations: 0 / 0.7956 GB, free: 3.031 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.0001141/0.2223, allocations: 129.8 kB / 0.7957 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.061e-05/0.2223, allocations: 19.72 kB / 0.7957 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.976e-05/0.2224, allocations: 29.83 kB / 0.7958 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.2224, allocations: 7.938 kB / 0.7958 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.2224, allocations: 3.953 kB / 0.7958 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.2224, allocations: 0 / 0.7958 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003045/0.2227, allocations: 257.5 kB / 0.796 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2227, allocations: 4 kB / 0.796 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002132/0.2229, allocations: 43.89 kB / 0.7961 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.223, allocations: 0 / 0.7961 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.223, allocations: 4 kB / 0.7961 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.223, allocations: 0 / 0.7961 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.223, allocations: 4 kB / 0.7961 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005959/0.2236, allocations: 331.1 kB / 0.7964 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002021/0.2238, allocations: 112.9 kB / 0.7965 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.35e-05/0.2239, allocations: 3.938 kB / 0.7965 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/0.2241, allocations: 23.97 kB / 0.7965 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.438e-05/0.2241, allocations: 7.984 kB / 0.7965 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.2242, allocations: 4 kB / 0.7965 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001525/0.2243, allocations: 160.4 kB / 0.7967 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.81e-07/0.2243, allocations: 4 kB / 0.7967 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002942/0.2246, allocations: 36 kB / 0.7967 GB, free: 1.773 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.0002062/0.2248, allocations: 115.2 kB / 0.7968 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005286/0.2254, allocations: 183.9 kB / 0.797 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2254, allocations: 4 kB / 0.797 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002456/0.2256, allocations: 107.9 kB / 0.7971 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.2259, allocations: 19.08 kB / 0.7971 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007256/0.2267, allocations: 0.4989 MB / 0.7976 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.227, allocations: 0.7352 MB / 0.7984 GB, free: 64 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000165/0.2271, allocations: 52.58 kB / 0.7984 GB, free: 12 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.282e-05/0.2272, allocations: 19.38 kB / 0.7984 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of SimCode: time 4.21e-07/0.2272, allocations: 4 kB / 0.7984 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of Templates: time 0.004396/0.2316, allocations: 1.583 MB / 0.8 GB, free: 14.42 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: