Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.29/2.29, allocations: 251.3 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001328/0.001328, allocations: 181.3 kB / 325.8 MB, free: 2.789 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.457/2.457, allocations: 205.4 MB / 0.5767 GB, free: 20.72 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009908/0.0009904, allocations: 92.22 kB / 0.6812 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004675/0.0004677, allocations: 15.97 kB / 0.7953 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2231/0.2236, allocations: 106.3 MB / 0.899 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002424/0.2261, allocations: 1.589 MB / 0.9006 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.005233/0.2314, allocations: 3.229 MB / 0.9037 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001563/0.2316, allocations: 8 kB / 0.9038 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000264/0.2318, allocations: 43.69 kB / 0.9038 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000541/0.2324, allocations: 115.4 kB / 0.9039 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 9.107e-05/0.2325, allocations: 23.97 kB / 0.9039 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002366/0.2328, allocations: 159.2 kB / 0.9041 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.2329, allocations: 29.66 kB / 0.9041 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002117/0.2331, allocations: 71.7 kB / 0.9042 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001843/0.2333, allocations: 79.61 kB / 0.9043 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.111e-05/0.2334, allocations: 8 kB / 0.9043 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.2335, allocations: 23.98 kB / 0.9043 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.734e-05/0.2335, allocations: 35.78 kB / 0.9043 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.827e-05/0.2336, allocations: 53.58 kB / 0.9044 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001933/0.2338, allocations: 112 kB / 0.9045 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.2338, allocations: 0 / 0.9045 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.234e-06/0.2338, allocations: 0 / 0.9045 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.2339, allocations: 0 / 0.9045 GB, free: 59.85 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.001172/0.235, allocations: 0.496 MB / 0.905 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.2351, allocations: 12.03 kB / 0.905 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.375e-05/0.2352, allocations: 20.66 kB / 0.905 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005631/0.2357, allocations: 247 kB / 0.9052 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.2358, allocations: 384 / 0.9052 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.796e-05/0.2359, allocations: 4.375 kB / 0.9052 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006883/0.2366, allocations: 149.7 kB / 0.9054 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.2366, allocations: 0 / 0.9054 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/0.2367, allocations: 12 kB / 0.9054 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.931e-05/0.2367, allocations: 7.984 kB / 0.9054 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007963/0.2375, allocations: 158.2 kB / 0.9055 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.2386, allocations: 468.5 kB / 0.906 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006964/0.2394, allocations: 178.5 kB / 0.9062 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004617/0.2398, allocations: 112.8 kB / 0.9063 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.764e-05/0.2399, allocations: 4 kB / 0.9063 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.2399, allocations: 42.5 kB / 0.9063 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 3.136e-06/0.2399, allocations: 0 / 0.9063 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.001469/0.2414, allocations: 323.2 kB / 0.9066 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/0.2415, allocations: 55.41 kB / 0.9067 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002507/0.2418, allocations: 213 kB / 0.9069 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.2418, allocations: 25.7 kB / 0.9069 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.438e-05/0.2419, allocations: 124 kB / 0.907 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.905e-05/0.242, allocations: 43.36 kB / 0.9071 GB, free: 57 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.585e-05/0.242, allocations: 4 kB / 0.9071 GB, free: 57 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.052e-05/0.2421, allocations: 334.8 kB / 0.9074 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004402/0.2425, allocations: 75.94 kB / 0.9075 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004042/0.243, allocations: 87.92 kB / 0.9075 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004344/0.2434, allocations: 91.88 kB / 0.9076 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.2434, allocations: 4 kB / 0.9076 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009794/0.2444, allocations: 236.2 kB / 0.9079 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.2445, allocations: 7.984 kB / 0.9079 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.2445, allocations: 0 / 0.9079 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.2445, allocations: 0 / 0.9079 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004477/0.245, allocations: 35.97 kB / 0.9079 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.245, allocations: 0 / 0.9079 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003151/0.2453, allocations: 31.83 kB / 0.9079 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.62e-05/0.2454, allocations: 7.984 kB / 0.9079 GB, free: 56.09 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001414/0.2455, allocations: 129.7 kB / 0.9081 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.159e-05/0.2456, allocations: 19.81 kB / 0.9081 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.861e-05/0.2457, allocations: 25.83 kB / 0.9081 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.2457, allocations: 0 / 0.9081 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.2457, allocations: 0 / 0.9081 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.2457, allocations: 0 / 0.9081 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003505/0.2461, allocations: 277.4 kB / 0.9084 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.2461, allocations: 0 / 0.9084 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004409/0.2465, allocations: 35.97 kB / 0.9084 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.2465, allocations: 4 kB / 0.9084 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/0.2466, allocations: 4 kB / 0.9084 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.2466, allocations: 0 / 0.9084 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.2466, allocations: 0 / 0.9084 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009999/0.2476, allocations: 339.1 kB / 0.9087 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.2478, allocations: 116.7 kB / 0.9088 GB, free: 55.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.799e-05/0.2478, allocations: 8 kB / 0.9089 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003354/0.2482, allocations: 11.98 kB / 0.9089 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.091e-05/0.2483, allocations: 19.98 kB / 0.9089 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.037e-05/0.2483, allocations: 0 / 0.9089 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001801/0.2485, allocations: 156.5 kB / 0.909 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.11e-07/0.2485, allocations: 4 kB / 0.909 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003688/0.2489, allocations: 39.94 kB / 0.9091 GB, free: 54.82 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 (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.0001849/0.2491, allocations: 104.8 kB / 0.9092 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000935/0.25, allocations: 191.8 kB / 0.9094 GB, free: 54.53 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.25, allocations: 0 / 0.9094 GB, free: 54.53 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004762/0.2505, allocations: 107.9 kB / 0.9095 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005424/0.2511, allocations: 36.3 kB / 0.9095 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.2522, allocations: 491.9 kB / 0.91 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002096/0.2525, allocations: 0.7277 MB / 0.9107 GB, free: 53.13 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003347/0.2528, allocations: 52.58 kB / 0.9107 GB, free: 53.08 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.2529, allocations: 27.42 kB / 0.9107 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of SimCode: time 1.343e-06/0.2529, allocations: 0 / 0.9107 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of Templates: time 0.006396/0.2593, allocations: 1.585 MB / 0.9123 GB, free: 51.48 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1)