Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008639/0.0008639, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.001072/0.001072, allocations: 168.7 kB / 15.95 MB, free: 200 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.417/1.417, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.633/1.633, allocations: 292.7 MB / 0.5499 GB, free: 14.58 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.0004678/0.0004678, allocations: 21.28 kB / 0.6737 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2066, allocations: 116.3 MB / 0.7873 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.001805/0.2084, allocations: 1.574 MB / 0.7888 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003406/0.2119, allocations: 3.217 MB / 0.792 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.179e-05/0.212, allocations: 7.938 kB / 0.792 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002024/0.2122, allocations: 39.81 kB / 0.792 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003776/0.2126, allocations: 119.4 kB / 0.7921 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.511e-05/0.2126, allocations: 15.98 kB / 0.7921 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002096/0.2128, allocations: 155.2 kB / 0.7923 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.213, allocations: 33.66 kB / 0.7923 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001594/0.2131, allocations: 71.7 kB / 0.7924 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.2133, allocations: 67.69 kB / 0.7925 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.2133, allocations: 7.938 kB / 0.7925 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.994e-05/0.2134, allocations: 27.91 kB / 0.7925 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.34e-05/0.2135, allocations: 31.84 kB / 0.7925 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.513e-05/0.2135, allocations: 53.64 kB / 0.7926 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.2137, allocations: 103.8 kB / 0.7927 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2137, allocations: 0 / 0.7927 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2137, allocations: 0 / 0.7927 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.2137, allocations: 0 / 0.7927 GB, free: 6.43 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.0007327/0.2145, allocations: 0.4983 MB / 0.7932 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.2145, allocations: 8.031 kB / 0.7932 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.479e-05/0.2146, allocations: 23.7 kB / 0.7932 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003004/0.2149, allocations: 233.7 kB / 0.7934 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.2149, allocations: 4 kB / 0.7934 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.2149, allocations: 11.97 kB / 0.7934 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003126/0.2152, allocations: 145.5 kB / 0.7936 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.2153, allocations: 0 / 0.7936 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.2153, allocations: 4 kB / 0.7936 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.973e-05/0.2153, allocations: 11.98 kB / 0.7936 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003912/0.2157, allocations: 155.8 kB / 0.7937 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006277/0.2163, allocations: 448.4 kB / 0.7942 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003697/0.2167, allocations: 174.5 kB / 0.7943 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002272/0.217, allocations: 112.7 kB / 0.7944 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.217, allocations: 7.984 kB / 0.7944 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.217, allocations: 38.5 kB / 0.7945 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.042e-06/0.217, allocations: 0 / 0.7945 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0007541/0.2178, allocations: 317.3 kB / 0.7948 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.2178, allocations: 51.41 kB / 0.7948 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.218, allocations: 205 kB / 0.795 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.2181, allocations: 29.7 kB / 0.795 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.546e-05/0.2182, allocations: 116.1 kB / 0.7952 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.869e-05/0.2182, allocations: 39.36 kB / 0.7952 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.091e-05/0.2182, allocations: 4 kB / 0.7952 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.2184, allocations: 334.8 kB / 0.7955 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000195/0.2186, allocations: 75.94 kB / 0.7956 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001993/0.2188, allocations: 79.94 kB / 0.7957 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002087/0.219, allocations: 87.88 kB / 0.7957 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.219, allocations: 0 / 0.7957 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004661/0.2195, allocations: 221.3 kB / 0.796 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.2195, allocations: 8 kB / 0.796 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.2195, allocations: 4 kB / 0.796 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.2195, allocations: 3.953 kB / 0.796 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002367/0.2198, allocations: 39.97 kB / 0.796 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.2198, allocations: 0 / 0.796 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.2199, allocations: 19.92 kB / 0.796 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.22, allocations: 7.984 kB / 0.796 GB, free: 2.758 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.0001106/0.2201, allocations: 134.4 kB / 0.7962 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.715e-05/0.2201, allocations: 15.81 kB / 0.7962 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.576e-05/0.2202, allocations: 25.83 kB / 0.7962 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.2202, allocations: 7.953 kB / 0.7962 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.2202, allocations: 0 / 0.7962 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.2202, allocations: 0 / 0.7962 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002851/0.2205, allocations: 257.4 kB / 0.7965 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2205, allocations: 3.938 kB / 0.7965 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001926/0.2207, allocations: 39.97 kB / 0.7965 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.2207, allocations: 4 kB / 0.7965 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.2207, allocations: 3.984 kB / 0.7965 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.2208, allocations: 0 / 0.7965 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.2208, allocations: 7.891 kB / 0.7965 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005129/0.2213, allocations: 330.2 kB / 0.7968 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.91e-05/0.2214, allocations: 112.7 kB / 0.7969 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.01e-05/0.2214, allocations: 12 kB / 0.797 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001533/0.2216, allocations: 11.98 kB / 0.797 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.578e-05/0.2216, allocations: 15.98 kB / 0.797 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.2217, allocations: 3.953 kB / 0.797 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001153/0.2218, allocations: 156.5 kB / 0.7971 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2218, allocations: 0 / 0.7971 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002667/0.222, allocations: 32 kB / 0.7972 GB, free: 1.516 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.0001364/0.2222, allocations: 111.2 kB / 0.7973 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004488/0.2226, allocations: 179.9 kB / 0.7974 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2227, allocations: 0 / 0.7974 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002244/0.2229, allocations: 103.9 kB / 0.7975 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.2233, allocations: 34.33 kB / 0.7976 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006971/0.224, allocations: 471.5 kB / 0.798 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/0.2243, allocations: 0.7355 MB / 0.7987 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001579/0.2244, allocations: 44.59 kB / 0.7988 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.245e-05/0.2245, allocations: 19.42 kB / 0.7988 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of SimCode: time 2.41e-07/0.2245, allocations: 0 / 0.7988 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of Templates: time 0.003811/0.2283, allocations: 1.481 MB / 0.8002 GB, free: 14.32 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) Environment - environmentSimulation: