Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.489/1.489, allocations: 251.5 MB / 267.4 MB, free: 11.07 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.001311/0.001311, allocations: 173.8 kB / 326.5 MB, free: 2.672 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.922/1.922, allocations: 205 MB / 0.5766 GB, free: 20.94 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.0009698/0.0009697, allocations: 105.6 kB / 0.6804 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003456/0.0003454, allocations: 13.09 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2386, allocations: 105.4 MB / 0.8967 GB, free: 68.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002124/0.2407, allocations: 1.656 MB / 0.8984 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003851/0.2446, allocations: 3.425 MB / 0.9017 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001582/0.2448, allocations: 8 kB / 0.9017 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002872/0.2451, allocations: 35.81 kB / 0.9017 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005335/0.2457, allocations: 119.4 kB / 0.9019 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 8.461e-05/0.2458, allocations: 23.97 kB / 0.9019 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002307/0.246, allocations: 187.2 kB / 0.9021 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.2461, allocations: 37.59 kB / 0.9021 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002024/0.2463, allocations: 67.72 kB / 0.9022 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001539/0.2465, allocations: 79.55 kB / 0.9022 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.756e-05/0.2465, allocations: 8 kB / 0.9022 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.238e-05/0.2466, allocations: 27.97 kB / 0.9023 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.913e-05/0.2467, allocations: 35.78 kB / 0.9023 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.378e-05/0.2468, allocations: 75.53 kB / 0.9024 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.2469, allocations: 107.8 kB / 0.9025 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.247, allocations: 0 / 0.9025 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.463e-06/0.247, allocations: 0 / 0.9025 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.247, allocations: 0 / 0.9025 GB, free: 62.24 MB / 0.6042 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.0007826/0.2478, allocations: 0.4946 MB / 0.903 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.2478, allocations: 8.031 kB / 0.903 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.999e-05/0.2479, allocations: 20.66 kB / 0.903 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.2482, allocations: 254.8 kB / 0.9032 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.2482, allocations: 384 / 0.9032 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.2482, allocations: 4.375 kB / 0.9032 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003201/0.2485, allocations: 149.7 kB / 0.9034 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.2486, allocations: 8 kB / 0.9034 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.2486, allocations: 0 / 0.9034 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.924e-05/0.2486, allocations: 15.98 kB / 0.9034 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003924/0.249, allocations: 155.9 kB / 0.9036 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006351/0.2497, allocations: 468.4 kB / 0.904 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003591/0.25, allocations: 182.4 kB / 0.9042 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002237/0.2503, allocations: 112.8 kB / 0.9043 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.2503, allocations: 0 / 0.9043 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.2503, allocations: 38.56 kB / 0.9043 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 8.72e-07/0.2503, allocations: 0 / 0.9043 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.0007628/0.2511, allocations: 324.4 kB / 0.9046 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.2511, allocations: 55.41 kB / 0.9047 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.2513, allocations: 209 kB / 0.9049 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.2513, allocations: 29.7 kB / 0.9049 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.314e-05/0.2514, allocations: 120.1 kB / 0.905 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.43e-05/0.2514, allocations: 47.38 kB / 0.9051 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.887e-05/0.2515, allocations: 17.7 kB / 0.9051 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.974e-05/0.2515, allocations: 334.8 kB / 0.9054 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002042/0.2517, allocations: 79.92 kB / 0.9055 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001896/0.2519, allocations: 83.94 kB / 0.9056 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003983/0.2523, allocations: 192.7 kB / 0.9057 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2524, allocations: 3.938 kB / 0.9057 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004517/0.2528, allocations: 221.4 kB / 0.906 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.2528, allocations: 4 kB / 0.906 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.2529, allocations: 7.969 kB / 0.906 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.2529, allocations: 0 / 0.906 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002393/0.2531, allocations: 43.97 kB / 0.906 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.2531, allocations: 0 / 0.906 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001524/0.2533, allocations: 23.83 kB / 0.906 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.2533, allocations: 7.984 kB / 0.906 GB, free: 58.37 MB / 0.6042 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.0001197/0.2534, allocations: 133.7 kB / 0.9062 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/0.2535, allocations: 23.81 kB / 0.9062 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.006e-05/0.2535, allocations: 25.83 kB / 0.9062 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.2535, allocations: 0 / 0.9062 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.2536, allocations: 0 / 0.9062 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.2536, allocations: 3.984 kB / 0.9062 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002259/0.2538, allocations: 273.4 kB / 0.9065 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2538, allocations: 0 / 0.9065 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000214/0.254, allocations: 43.97 kB / 0.9065 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.254, allocations: 4 kB / 0.9065 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.2541, allocations: 0 / 0.9065 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.2541, allocations: 0 / 0.9065 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2541, allocations: 0 / 0.9065 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005057/0.2546, allocations: 341.2 kB / 0.9069 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.047e-05/0.2547, allocations: 116.8 kB / 0.907 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.968e-05/0.2547, allocations: 3.984 kB / 0.907 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001841/0.2549, allocations: 23.98 kB / 0.907 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.975e-05/0.255, allocations: 11.92 kB / 0.907 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.255, allocations: 4 kB / 0.907 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001034/0.2551, allocations: 160.5 kB / 0.9072 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2551, allocations: 0 / 0.9072 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002564/0.2554, allocations: 39.94 kB / 0.9072 GB, free: 57.09 MB / 0.6042 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.0001536/0.2555, allocations: 105.2 kB / 0.9073 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004647/0.256, allocations: 195.8 kB / 0.9075 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.256, allocations: 0 / 0.9075 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002151/0.2562, allocations: 107.8 kB / 0.9076 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/0.2566, allocations: 30.83 kB / 0.9076 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006955/0.2573, allocations: 0.4932 MB / 0.9081 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001633/0.2575, allocations: 0.7317 MB / 0.9088 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.809e-05/0.2576, allocations: 23.42 kB / 0.9088 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2576, allocations: 0 / 0.9088 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of Templates: time 0.003448/0.261, allocations: 2.279 MB / 0.9111 GB, free: 53.09 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1)