Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.512/2.512, allocations: 391.2 MB / 407 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 194.6 kB / 499.1 MB, free: 4.621 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.619/1.619, allocations: 222.9 MB / 0.7948 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 115.6 kB / 0.9329 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 51.2 kB / 1.081 GB, free: 218.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2981, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.005836/0.304, allocations: 4.493 MB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.144/0.4481, allocations: 148.3 MB / 1.367 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009445/0.4491, allocations: 23.88 kB / 1.367 GB, free: 11.82 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0008813/0.4501, allocations: 146.9 kB / 1.367 GB, free: 11.67 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.002395/0.4525, allocations: 410.1 kB / 1.368 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003169/0.4557, allocations: 0.7263 MB / 1.369 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.002399/0.4581, allocations: 1.234 MB / 1.37 GB, free: 9.312 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002134/0.4602, allocations: 0.8884 MB / 1.371 GB, free: 8.379 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001268/0.4615, allocations: 485.9 kB / 1.371 GB, free: 7.902 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009781/0.4625, allocations: 0.5443 MB / 1.372 GB, free: 7.355 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003779/0.4629, allocations: 84 kB / 1.372 GB, free: 7.273 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001504/0.4644, allocations: 419.6 kB / 1.372 GB, free: 6.863 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004898/0.4649, allocations: 286.9 kB / 1.372 GB, free: 6.582 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0008914/0.4658, allocations: 0.5903 MB / 1.373 GB, free: 5.988 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.002502/0.4683, allocations: 1.741 MB / 1.375 GB, free: 4.242 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.4684, allocations: 4 kB / 1.375 GB, free: 4.238 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.062e-06/0.4684, allocations: 0 / 1.375 GB, free: 4.238 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.632e-05/0.4684, allocations: 4 kB / 1.375 GB, free: 4.234 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.003751/0.4722, allocations: 1.588 MB / 1.376 GB, free: 2.594 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.4723, allocations: 15.92 kB / 1.376 GB, free: 2.578 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001164/0.4734, allocations: 207.2 kB / 1.376 GB, free: 2.375 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001526/0.475, allocations: 0.8131 MB / 1.377 GB, free: 1.52 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.044e-05/0.4751, allocations: 86.28 kB / 1.377 GB, free: 1.434 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001939/0.4753, allocations: 112 kB / 1.377 GB, free: 1.324 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00233/0.4776, allocations: 1.134 MB / 1.379 GB, free: 128 kB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/0.4777, allocations: 0 / 1.379 GB, free: 128 kB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/0.4778, allocations: 52 kB / 1.379 GB, free: 76 kB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.84e-05/0.4778, allocations: 28 kB / 1.379 GB, free: 48 kB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002253/0.4801, allocations: 1.234 MB / 1.38 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005297/0.4854, allocations: 3.019 MB / 1.383 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001471/0.4869, allocations: 0.7731 MB / 1.384 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005484/0.4874, allocations: 290.7 kB / 1.384 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 8.838e-05/0.4875, allocations: 40.61 kB / 1.384 GB, free: 10.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009084/0.4885, allocations: 443.2 kB / 1.384 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=78): time 3.216e-06/0.4885, allocations: 4 kB / 1.384 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of matching and sorting (n=78): time 0.002987/0.4915, allocations: 1.135 MB / 1.385 GB, free: 8.98 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.4916, allocations: 192.6 kB / 1.386 GB, free: 8.75 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009724/0.4926, allocations: 0.6959 MB / 1.386 GB, free: 8.043 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.268e-05/0.4926, allocations: 37.7 kB / 1.386 GB, free: 8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004086/0.4931, allocations: 0.4996 MB / 1.387 GB, free: 7.492 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002204/0.4933, allocations: 260.2 kB / 1.387 GB, free: 7.234 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002465/0.4935, allocations: 158.5 kB / 1.387 GB, free: 7.074 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.4937, allocations: 386.8 kB / 1.388 GB, free: 6.688 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000525/0.4943, allocations: 265.8 kB / 1.388 GB, free: 6.426 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006263/0.4949, allocations: 347.1 kB / 1.388 GB, free: 6.07 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/0.496, allocations: 0.6071 MB / 1.389 GB, free: 5.449 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.496, allocations: 0 / 1.389 GB, free: 5.449 MB / 0.8855 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001957/0.498, allocations: 0.8409 MB / 1.39 GB, free: 4.602 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.498, allocations: 8 kB / 1.39 GB, free: 4.594 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.4981, allocations: 0 / 1.39 GB, free: 4.594 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005952/0.4987, allocations: 84.86 kB / 1.39 GB, free: 4.508 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006596/0.4993, allocations: 155.8 kB / 1.39 GB, free: 4.355 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002048/0.5014, allocations: 1.528 MB / 1.391 GB, free: 2.688 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006629/0.5021, allocations: 87.3 kB / 1.391 GB, free: 2.602 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.475e-05/0.5021, allocations: 31.98 kB / 1.391 GB, free: 2.57 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004406/0.5026, allocations: 287.5 kB / 1.392 GB, free: 2.281 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001819/0.5028, allocations: 90.88 kB / 1.392 GB, free: 2.191 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002259/0.5051, allocations: 1.027 MB / 1.393 GB, free: 1.152 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.5051, allocations: 8 kB / 1.393 GB, free: 1.145 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.5051, allocations: 0 / 1.393 GB, free: 1.145 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.5051, allocations: 3.984 kB / 1.393 GB, free: 1.141 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001146/0.5062, allocations: 0.9816 MB / 1.394 GB, free: 108 kB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.5063, allocations: 0 / 1.394 GB, free: 108 kB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005909/0.5069, allocations: 151.8 kB / 1.394 GB, free: 15.96 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005044/0.5074, allocations: 80.77 kB / 1.394 GB, free: 15.88 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-05/0.5074, allocations: 19.98 kB / 1.394 GB, free: 15.86 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001805/0.5093, allocations: 1.548 MB / 1.395 GB, free: 14.17 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.5093, allocations: 144 / 1.395 GB, free: 14.17 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002896/0.5122, allocations: 1.945 MB / 1.397 GB, free: 12.16 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003954/0.5126, allocations: 267.7 kB / 1.398 GB, free: 11.88 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001377/0.5127, allocations: 20 kB / 1.398 GB, free: 11.86 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005674/0.5133, allocations: 53.19 kB / 1.398 GB, free: 11.81 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/0.5135, allocations: 60.92 kB / 1.398 GB, free: 11.75 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.979e-05/0.5135, allocations: 35.97 kB / 1.398 GB, free: 11.71 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.000639/0.5142, allocations: 495 kB / 1.398 GB, free: 11.23 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5142, allocations: 0 / 1.398 GB, free: 11.23 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001024/0.5152, allocations: 346.8 kB / 1.399 GB, free: 10.89 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001469/0.5167, allocations: 0.6013 MB / 1.399 GB, free: 10.46 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001756/0.5185, allocations: 0.7963 MB / 1.4 GB, free: 9.66 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/0.5185, allocations: 7.984 kB / 1.4 GB, free: 9.652 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0009518/0.5195, allocations: 0.5002 MB / 1.4 GB, free: 9.141 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001248/0.5207, allocations: 278.4 kB / 1.401 GB, free: 8.879 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005153/0.5259, allocations: 2.944 MB / 1.404 GB, free: 5.895 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008957/0.5268, allocations: 1.103 MB / 1.405 GB, free: 4.762 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0009983/0.5278, allocations: 274.8 kB / 1.405 GB, free: 4.488 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003098/0.5281, allocations: 103.3 kB / 1.405 GB, free: 4.387 MB / 0.9011 GB Notification: Performance of SimCode: time 1.132e-06/0.5281, allocations: 0 / 1.405 GB, free: 4.387 MB / 0.9011 GB Notification: Performance of Templates: time 0.02664/0.5548, allocations: 14.35 MB / 1.419 GB, free: 6.172 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)