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.008918/0.008918, allocations: 101.3 kB / 15.73 MB, free: 6.047 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.002002/0.002003, allocations: 188.6 kB / 16.67 MB, free: 5.98 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.546/1.546, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.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.372/1.372, allocations: 251.7 MB / 0.5094 GB, free: 408 kB / 430.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.00138/0.00138, allocations: 67.91 kB / 0.7258 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.604/0.6054, allocations: 104.7 MB / 0.828 GB, free: 2.633 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003024/0.6085, allocations: 1.919 MB / 0.8299 GB, free: 0.6953 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.00392/0.6124, allocations: 3.459 MB / 0.8333 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.6125, allocations: 0 / 0.8333 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0002601/0.6128, allocations: 51.62 kB / 0.8333 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0004326/0.6133, allocations: 139.2 kB / 0.8335 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 7.44e-05/0.6134, allocations: 27.97 kB / 0.8335 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0002125/0.6136, allocations: 175.2 kB / 0.8337 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 9.721e-05/0.6137, allocations: 23.94 kB / 0.8337 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001699/0.6139, allocations: 91.61 kB / 0.8338 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001503/0.614, allocations: 87.55 kB / 0.8339 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.015e-05/0.6141, allocations: 12 kB / 0.8339 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 7.82e-05/0.6141, allocations: 27.98 kB / 0.8339 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 7.769e-05/0.6142, allocations: 31.91 kB / 0.8339 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 7.657e-05/0.6143, allocations: 87.41 kB / 0.834 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002044/0.6145, allocations: 167.3 kB / 0.8342 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.6145, allocations: 4 kB / 0.8342 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6145, allocations: 4 kB / 0.8342 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.6146, allocations: 0 / 0.8342 GB, free: 12.31 MB / 0.6387 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.0008974/0.6155, allocations: 0.4945 MB / 0.8347 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.6155, allocations: 12.03 kB / 0.8347 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.034e-05/0.6156, allocations: 20.66 kB / 0.8347 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003409/0.6159, allocations: 242.8 kB / 0.8349 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.6159, allocations: 8.359 kB / 0.8349 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/0.616, allocations: 8.375 kB / 0.8349 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003449/0.6163, allocations: 141.7 kB / 0.8351 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.6163, allocations: 0 / 0.8351 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.6163, allocations: 0 / 0.8351 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.633e-05/0.6164, allocations: 8 kB / 0.8351 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004397/0.6168, allocations: 151.8 kB / 0.8352 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006912/0.6175, allocations: 452.5 kB / 0.8357 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004244/0.618, allocations: 178.5 kB / 0.8358 GB, free: 10.47 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002693/0.6182, allocations: 104.8 kB / 0.8359 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.6183, allocations: 4 kB / 0.8359 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.6183, allocations: 38.5 kB / 0.836 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=13): time 2.615e-06/0.6183, allocations: 0 / 0.836 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13): time 0.0008337/0.6191, allocations: 293.3 kB / 0.8362 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.6192, allocations: 55.41 kB / 0.8363 GB, free: 9.957 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.6194, allocations: 217 kB / 0.8365 GB, free: 9.738 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.6194, allocations: 25.7 kB / 0.8365 GB, free: 9.707 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 7.172e-05/0.6195, allocations: 120.1 kB / 0.8366 GB, free: 9.586 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.324e-05/0.6195, allocations: 47.28 kB / 0.8367 GB, free: 9.539 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.92e-05/0.6196, allocations: 33.7 kB / 0.8367 GB, free: 9.5 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.6197, allocations: 330.8 kB / 0.837 GB, free: 9.168 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002316/0.6199, allocations: 80.17 kB / 0.8371 GB, free: 9.09 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000219/0.6202, allocations: 79.88 kB / 0.8372 GB, free: 9.012 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004447/0.6206, allocations: 171.4 kB / 0.8374 GB, free: 8.844 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.6206, allocations: 0 / 0.8374 GB, free: 8.844 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005156/0.6212, allocations: 213.4 kB / 0.8376 GB, free: 8.629 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.6212, allocations: 4 kB / 0.8376 GB, free: 8.625 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.6212, allocations: 0 / 0.8376 GB, free: 8.625 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.6212, allocations: 0 / 0.8376 GB, free: 8.625 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002478/0.6215, allocations: 39.91 kB / 0.8376 GB, free: 8.586 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.988e-06/0.6215, allocations: 7.984 kB / 0.8376 GB, free: 8.578 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/0.6216, allocations: 15.89 kB / 0.8376 GB, free: 8.562 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.6217, allocations: 7.984 kB / 0.8376 GB, free: 8.555 MB / 0.6387 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.0001095/0.6218, allocations: 130.8 kB / 0.8378 GB, free: 8.418 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.313e-05/0.6218, allocations: 15.81 kB / 0.8378 GB, free: 8.402 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.876e-05/0.6219, allocations: 29.83 kB / 0.8378 GB, free: 8.371 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.6219, allocations: 0 / 0.8378 GB, free: 8.371 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.6219, allocations: 4 kB / 0.8378 GB, free: 8.367 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.6219, allocations: 0 / 0.8378 GB, free: 8.367 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002725/0.6222, allocations: 273.3 kB / 0.8381 GB, free: 8.051 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.6222, allocations: 0 / 0.8381 GB, free: 8.051 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002298/0.6224, allocations: 35.91 kB / 0.8381 GB, free: 8.016 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.6225, allocations: 0 / 0.8381 GB, free: 8.016 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.6225, allocations: 4 kB / 0.8381 GB, free: 8.012 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.6225, allocations: 3.984 kB / 0.8381 GB, free: 8.008 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.6225, allocations: 8 kB / 0.8381 GB, free: 8 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005718/0.6231, allocations: 315.2 kB / 0.8384 GB, free: 7.676 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 9.482e-05/0.6232, allocations: 108.8 kB / 0.8385 GB, free: 7.551 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.931e-05/0.6232, allocations: 4 kB / 0.8385 GB, free: 7.547 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/0.6234, allocations: 19.92 kB / 0.8385 GB, free: 7.527 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.981e-05/0.6235, allocations: 7.984 kB / 0.8385 GB, free: 7.52 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.6235, allocations: 8 kB / 0.8386 GB, free: 7.512 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001191/0.6236, allocations: 156.5 kB / 0.8387 GB, free: 7.359 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6236, allocations: 0 / 0.8387 GB, free: 7.359 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002665/0.6239, allocations: 39.94 kB / 0.8387 GB, free: 7.32 MB / 0.6387 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.0001543/0.624, allocations: 115.2 kB / 0.8389 GB, free: 7.199 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005243/0.6246, allocations: 175.1 kB / 0.839 GB, free: 7.031 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.6246, allocations: 0 / 0.839 GB, free: 7.031 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002475/0.6248, allocations: 99.86 kB / 0.8391 GB, free: 6.934 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/0.6252, allocations: 28.36 kB / 0.8391 GB, free: 6.906 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007657/0.626, allocations: 430.5 kB / 0.8396 GB, free: 6.457 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/0.6263, allocations: 0.7353 MB / 0.8403 GB, free: 5.695 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001554/0.6265, allocations: 52.48 kB / 0.8403 GB, free: 5.641 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.902e-05/0.6265, allocations: 19.42 kB / 0.8403 GB, free: 5.621 MB / 0.6387 GB Notification: Performance of SimCode: time 5.61e-07/0.6265, allocations: 0 / 0.8403 GB, free: 5.621 MB / 0.6387 GB Notification: Performance of Templates: time 0.004522/0.6311, allocations: 1.843 MB / 0.8421 GB, free: 3.809 MB / 0.6387 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)