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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01172/0.01172, allocations: 103.6 kB / 15.73 MB, free: 6.039 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.002122/0.002122, allocations: 190.7 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.646/1.646, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.579/1.579, allocations: 251.7 MB / 0.5094 GB, free: 2.957 MB / 414.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.00151/0.00151, allocations: 71.89 kB / 0.7258 GB, free: 8.98 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.204, allocations: 104.7 MB / 0.828 GB, free: 172 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003601/0.2076, allocations: 1.914 MB / 0.8299 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004547/0.2122, allocations: 3.456 MB / 0.8333 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001643/0.2124, allocations: 0 / 0.8333 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002785/0.2127, allocations: 59.61 kB / 0.8333 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0005116/0.2132, allocations: 127.3 kB / 0.8335 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 9.819e-05/0.2134, allocations: 27.95 kB / 0.8335 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002643/0.2136, allocations: 179.2 kB / 0.8337 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.2137, allocations: 33.55 kB / 0.8337 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002042/0.214, allocations: 83.69 kB / 0.8338 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001713/0.2141, allocations: 87.55 kB / 0.8339 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.12e-05/0.2142, allocations: 12 kB / 0.8339 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.356e-05/0.2143, allocations: 31.92 kB / 0.8339 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.023e-05/0.2144, allocations: 31.84 kB / 0.8339 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.864e-05/0.2145, allocations: 83.52 kB / 0.834 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002351/0.2147, allocations: 163.4 kB / 0.8342 GB, free: 9.859 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2147, allocations: 0 / 0.8342 GB, free: 9.859 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.965e-06/0.2147, allocations: 4 kB / 0.8342 GB, free: 9.855 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.281e-05/0.2148, allocations: 7.938 kB / 0.8342 GB, free: 9.848 MB / 0.6544 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.0009267/0.2157, allocations: 0.5061 MB / 0.8347 GB, free: 9.293 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.2157, allocations: 8.031 kB / 0.8347 GB, free: 9.285 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.92e-05/0.2158, allocations: 24.66 kB / 0.8347 GB, free: 9.262 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003561/0.2162, allocations: 238.9 kB / 0.8349 GB, free: 8.992 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.2162, allocations: 12.38 kB / 0.8349 GB, free: 8.98 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.2162, allocations: 4.375 kB / 0.8349 GB, free: 8.977 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003839/0.2166, allocations: 137.7 kB / 0.8351 GB, free: 8.836 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.2167, allocations: 3.938 kB / 0.8351 GB, free: 8.832 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.2167, allocations: 0 / 0.8351 GB, free: 8.832 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.572e-05/0.2167, allocations: 8 kB / 0.8351 GB, free: 8.824 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004424/0.2172, allocations: 147.9 kB / 0.8352 GB, free: 8.68 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007363/0.2179, allocations: 456.5 kB / 0.8357 GB, free: 8.184 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004214/0.2183, allocations: 178.4 kB / 0.8358 GB, free: 8 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002589/0.2186, allocations: 100.8 kB / 0.8359 GB, free: 7.898 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.2186, allocations: 7.984 kB / 0.8359 GB, free: 7.891 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.2187, allocations: 30.56 kB / 0.836 GB, free: 7.852 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 1.663e-06/0.2187, allocations: 4 kB / 0.836 GB, free: 7.848 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.0008641/0.2196, allocations: 289.5 kB / 0.8362 GB, free: 7.559 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.2196, allocations: 51.41 kB / 0.8363 GB, free: 7.496 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002236/0.2198, allocations: 225 kB / 0.8365 GB, free: 7.27 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.2199, allocations: 29.7 kB / 0.8365 GB, free: 7.234 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.45e-05/0.22, allocations: 120 kB / 0.8367 GB, free: 7.113 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.313e-05/0.22, allocations: 43.36 kB / 0.8367 GB, free: 7.07 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.644e-05/0.2201, allocations: 29.7 kB / 0.8367 GB, free: 7.035 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.2202, allocations: 334.8 kB / 0.837 GB, free: 6.699 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002556/0.2205, allocations: 75.94 kB / 0.8371 GB, free: 6.625 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002282/0.2207, allocations: 79.56 kB / 0.8372 GB, free: 6.551 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004557/0.2212, allocations: 164.7 kB / 0.8373 GB, free: 6.387 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2212, allocations: 4 kB / 0.8374 GB, free: 6.383 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005411/0.2217, allocations: 213.4 kB / 0.8376 GB, free: 6.168 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.2218, allocations: 7.938 kB / 0.8376 GB, free: 6.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.2218, allocations: 0 / 0.8376 GB, free: 6.16 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.2218, allocations: 0 / 0.8376 GB, free: 6.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002571/0.2221, allocations: 43.91 kB / 0.8376 GB, free: 6.117 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.2221, allocations: 4 kB / 0.8376 GB, free: 6.113 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/0.2223, allocations: 23.83 kB / 0.8376 GB, free: 6.09 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.2223, allocations: 3.984 kB / 0.8376 GB, free: 6.086 MB / 0.6544 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.0001098/0.2224, allocations: 129.8 kB / 0.8378 GB, free: 5.949 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.469e-05/0.2225, allocations: 15.81 kB / 0.8378 GB, free: 5.934 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.195e-05/0.2225, allocations: 25.83 kB / 0.8378 GB, free: 5.906 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.2225, allocations: 4 kB / 0.8378 GB, free: 5.902 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.2226, allocations: 4 kB / 0.8378 GB, free: 5.898 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.2226, allocations: 0 / 0.8378 GB, free: 5.898 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002888/0.2229, allocations: 273.4 kB / 0.8381 GB, free: 5.582 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.2229, allocations: 0 / 0.8381 GB, free: 5.582 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002264/0.2231, allocations: 35.91 kB / 0.8381 GB, free: 5.547 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.2231, allocations: 0 / 0.8381 GB, free: 5.547 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.2231, allocations: 7.984 kB / 0.8381 GB, free: 5.539 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.2231, allocations: 0 / 0.8381 GB, free: 5.539 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.2231, allocations: 3.984 kB / 0.8381 GB, free: 5.535 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005822/0.2237, allocations: 321.9 kB / 0.8384 GB, free: 5.207 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.153e-05/0.2238, allocations: 108.8 kB / 0.8385 GB, free: 5.082 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.385e-05/0.2239, allocations: 4 kB / 0.8385 GB, free: 5.078 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/0.2241, allocations: 15.98 kB / 0.8385 GB, free: 5.062 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.401e-05/0.2241, allocations: 15.92 kB / 0.8386 GB, free: 5.047 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.2242, allocations: 4 kB / 0.8386 GB, free: 5.043 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001551/0.2243, allocations: 156.5 kB / 0.8387 GB, free: 4.887 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2243, allocations: 0 / 0.8387 GB, free: 4.887 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000276/0.2246, allocations: 43.84 kB / 0.8388 GB, free: 4.844 MB / 0.6544 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.0001678/0.2248, allocations: 111.2 kB / 0.8389 GB, free: 4.727 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005352/0.2253, allocations: 179.8 kB / 0.839 GB, free: 4.551 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.2253, allocations: 0 / 0.839 GB, free: 4.551 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002529/0.2256, allocations: 91.88 kB / 0.8391 GB, free: 4.461 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.226, allocations: 28.42 kB / 0.8391 GB, free: 4.434 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008275/0.2269, allocations: 438.5 kB / 0.8396 GB, free: 3.98 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.2272, allocations: 0.7352 MB / 0.8403 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001575/0.2273, allocations: 40.61 kB / 0.8403 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.433e-05/0.2274, allocations: 19.42 kB / 0.8403 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of SimCode: time 7.62e-07/0.2274, allocations: 0 / 0.8403 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of Templates: time 0.005084/0.2325, allocations: 1.854 MB / 0.8421 GB, free: 1.332 MB / 0.6544 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)