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/Buildings 8.1.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.678/1.678, allocations: 292.3 MB / 308.1 MB, free: 4.289 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.001247/0.001247, allocations: 196 kB / 376.9 MB, free: 1.836 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.532/1.532, allocations: 205.1 MB / 0.6354 GB, free: 9.812 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.0009711/0.0009712, allocations: 105.4 kB / 0.748 GB, free: 61.25 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009831/0.0009833, allocations: 51.92 kB / 0.8704 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2195, allocations: 114.6 MB / 0.9822 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003268/0.2228, allocations: 1.974 MB / 0.9842 GB, free: 8.418 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003748/0.2266, allocations: 3.429 MB / 0.9875 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.2267, allocations: 0 / 0.9875 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002552/0.227, allocations: 43.75 kB / 0.9875 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0004332/0.2275, allocations: 119.4 kB / 0.9877 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 7.553e-05/0.2275, allocations: 27.92 kB / 0.9877 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000241/0.2278, allocations: 187.2 kB / 0.9879 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.978e-05/0.2279, allocations: 25.66 kB / 0.9879 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001945/0.2281, allocations: 91.62 kB / 0.988 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001724/0.2283, allocations: 79.62 kB / 0.988 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.819e-05/0.2283, allocations: 4 kB / 0.9881 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.669e-05/0.2284, allocations: 27.92 kB / 0.9881 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.427e-05/0.2285, allocations: 39.83 kB / 0.9881 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 9.05e-05/0.2286, allocations: 75.53 kB / 0.9882 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002196/0.2288, allocations: 163.3 kB / 0.9883 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2288, allocations: 0 / 0.9883 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.91e-07/0.2288, allocations: 0 / 0.9883 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.2289, allocations: 4 kB / 0.9883 GB, free: 4.094 MB / 0.7136 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.0009197/0.2298, allocations: 0.5061 MB / 0.9888 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.2298, allocations: 8.031 kB / 0.9889 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.03e-05/0.2299, allocations: 16.75 kB / 0.9889 GB, free: 3.516 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003686/0.2303, allocations: 250.8 kB / 0.9891 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.2303, allocations: 4.359 kB / 0.9891 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.2303, allocations: 4.375 kB / 0.9891 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003671/0.2307, allocations: 145.7 kB / 0.9893 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.2307, allocations: 0 / 0.9893 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.2307, allocations: 0 / 0.9893 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.72e-05/0.2308, allocations: 19.84 kB / 0.9893 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004315/0.2312, allocations: 147.8 kB / 0.9894 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007112/0.2319, allocations: 456.5 kB / 0.9898 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004136/0.2324, allocations: 170.5 kB / 0.99 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002495/0.2326, allocations: 108.7 kB / 0.9901 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.2326, allocations: 4 kB / 0.9901 GB, free: 2.129 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.2327, allocations: 34.56 kB / 0.9902 GB, free: 2.086 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.2327, allocations: 0 / 0.9902 GB, free: 2.086 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13): time 0.0008099/0.2335, allocations: 289.7 kB / 0.9904 GB, free: 1.797 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.2335, allocations: 55.41 kB / 0.9905 GB, free: 1.73 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/0.2337, allocations: 213 kB / 0.9907 GB, free: 1.512 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.2338, allocations: 29.7 kB / 0.9907 GB, free: 1.477 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.366e-05/0.2338, allocations: 124 kB / 0.9908 GB, free: 1.352 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.146e-05/0.2339, allocations: 43.45 kB / 0.9909 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.744e-05/0.234, allocations: 25.7 kB / 0.9909 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.2341, allocations: 338.8 kB / 0.9912 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/0.2343, allocations: 79.88 kB / 0.9913 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002207/0.2345, allocations: 75.94 kB / 0.9914 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004227/0.235, allocations: 165.5 kB / 0.9915 GB, free: 0.6211 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.235, allocations: 0 / 0.9915 GB, free: 0.6211 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005013/0.2355, allocations: 217.3 kB / 0.9917 GB, free: 412 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.2355, allocations: 8 kB / 0.9917 GB, free: 404 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.2355, allocations: 4 kB / 0.9917 GB, free: 400 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.2355, allocations: 0 / 0.9917 GB, free: 400 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002353/0.2358, allocations: 35.91 kB / 0.9918 GB, free: 364 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.2358, allocations: 3.984 kB / 0.9918 GB, free: 360 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001576/0.236, allocations: 19.92 kB / 0.9918 GB, free: 340 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.236, allocations: 7.984 kB / 0.9918 GB, free: 332 kB / 0.7136 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001022/0.2361, allocations: 125.8 kB / 0.9919 GB, free: 196 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.238e-05/0.2361, allocations: 23.72 kB / 0.992 GB, free: 172 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.786e-05/0.2362, allocations: 33.83 kB / 0.992 GB, free: 140 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.2362, allocations: 0 / 0.992 GB, free: 140 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.2362, allocations: 0 / 0.992 GB, free: 140 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.2362, allocations: 0 / 0.992 GB, free: 140 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002769/0.2365, allocations: 265.5 kB / 0.9922 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.2365, allocations: 4 kB / 0.9922 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002077/0.2367, allocations: 39.84 kB / 0.9923 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.2368, allocations: 0 / 0.9923 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.463e-05/0.2368, allocations: 15.98 kB / 0.9923 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2368, allocations: 0 / 0.9923 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2368, allocations: 0 / 0.9923 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.2378, allocations: 0.989 MB / 0.9933 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.2379, allocations: 108.8 kB / 0.9934 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.579e-05/0.238, allocations: 11.88 kB / 0.9934 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.2382, allocations: 11.98 kB / 0.9934 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.651e-05/0.2382, allocations: 19.98 kB / 0.9934 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.2383, allocations: 3.984 kB / 0.9934 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001135/0.2384, allocations: 156.5 kB / 0.9936 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2384, allocations: 0 / 0.9936 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003735/0.2388, allocations: 36 kB / 0.9936 GB, free: 14.36 MB / 0.7292 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001426/0.2389, allocations: 111.2 kB / 0.9937 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005023/0.2394, allocations: 171.8 kB / 0.9939 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.2394, allocations: 4 kB / 0.9939 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002386/0.2397, allocations: 91.88 kB / 0.994 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003835/0.2401, allocations: 26.86 kB / 0.994 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008567/0.241, allocations: 0.6163 MB / 0.9946 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.2412, allocations: 0.7317 MB / 0.9953 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001704/0.2414, allocations: 52.58 kB / 0.9953 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.57e-05/0.2415, allocations: 19.42 kB / 0.9954 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of SimCode: time 2.6e-07/0.2415, allocations: 0 / 0.9954 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of Templates: time 0.00404/0.2455, allocations: 1.712 MB / 0.997 GB, free: 10.78 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (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)