Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.225/2.225, allocations: 391.2 MB / 407 MB, free: 10.86 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.001455/0.001455, allocations: 190.7 kB / 499.1 MB, free: 4.672 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.638/1.638, allocations: 222.9 MB / 0.7948 GB, free: 15.76 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.001074/0.001074, allocations: 102.9 kB / 0.9329 GB, free: 7.035 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 47.94 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3051, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.009197/0.3143, allocations: 6.012 MB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.188/0.5024, allocations: 149.1 MB / 1.37 GB, free: 9.449 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001447/0.5039, allocations: 23.88 kB / 1.37 GB, free: 9.426 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007659/0.5047, allocations: 186.4 kB / 1.37 GB, free: 9.242 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.002077/0.5068, allocations: 0.5005 MB / 1.37 GB, free: 8.742 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002792/0.5096, allocations: 1.145 MB / 1.371 GB, free: 7.602 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.002561/0.5122, allocations: 2.255 MB / 1.374 GB, free: 5.34 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001896/0.5141, allocations: 1.545 MB / 1.375 GB, free: 3.73 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001429/0.5155, allocations: 0.8871 MB / 1.376 GB, free: 2.84 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001289/0.5168, allocations: 1.097 MB / 1.377 GB, free: 1.738 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002742/0.5171, allocations: 151.9 kB / 1.377 GB, free: 1.59 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001163/0.5183, allocations: 0.4997 MB / 1.378 GB, free: 1.09 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004691/0.5187, allocations: 0.498 MB / 1.378 GB, free: 0.5898 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.001012/0.5198, allocations: 1.025 MB / 1.379 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.003077/0.5228, allocations: 3.096 MB / 1.382 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.5229, allocations: 0 / 1.382 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.272e-06/0.5229, allocations: 0 / 1.382 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.787e-05/0.5229, allocations: 0 / 1.382 GB, free: 12.45 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 556 * Number of variables: 556 Notification: Performance of Generate backend data structure: time 0.005477/0.5284, allocations: 2.584 MB / 1.385 GB, free: 9.809 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.5285, allocations: 15.98 kB / 1.385 GB, free: 9.793 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01456/0.543, allocations: 2.089 MB / 1.387 GB, free: 7.699 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002842/0.5459, allocations: 1.196 MB / 1.388 GB, free: 6.453 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001286/0.5461, allocations: 164.4 kB / 1.388 GB, free: 6.289 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003638/0.5465, allocations: 208 kB / 1.388 GB, free: 6.086 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01303/0.5595, allocations: 3.158 MB / 1.391 GB, free: 2.832 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.917e-05/0.5596, allocations: 4 kB / 1.391 GB, free: 2.828 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003643/0.56, allocations: 88 kB / 1.391 GB, free: 2.742 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-05/0.56, allocations: 56 kB / 1.391 GB, free: 2.688 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01757/0.5776, allocations: 4.099 MB / 1.395 GB, free: 14.57 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02177/0.5995, allocations: 7.01 MB / 1.402 GB, free: 7.469 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01208/0.6116, allocations: 2.688 MB / 1.405 GB, free: 4.781 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006325/0.618, allocations: 1.433 MB / 1.406 GB, free: 3.348 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001105/0.6191, allocations: 0.4996 MB / 1.407 GB, free: 2.758 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007253/0.6264, allocations: 1.703 MB / 1.409 GB, free: 1.035 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=195): time 6.953e-06/0.6265, allocations: 0 / 1.409 GB, free: 1.035 MB / 0.9011 GB Notification: Performance of matching and sorting (n=195): time 0.02016/0.6466, allocations: 4.189 MB / 1.413 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001553/0.6468, allocations: 205.9 kB / 1.413 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001694/0.6485, allocations: 0.862 MB / 1.414 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004573/0.649, allocations: 61.7 kB / 1.414 GB, free: 11.62 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008069/0.6498, allocations: 0.6955 MB / 1.414 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000909/0.6508, allocations: 0.6313 MB / 1.415 GB, free: 10.27 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001012/0.6518, allocations: 367.2 kB / 1.415 GB, free: 9.91 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.6519, allocations: 301.1 kB / 1.416 GB, free: 9.613 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005519/0.6574, allocations: 1.191 MB / 1.417 GB, free: 8.422 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005989/0.6635, allocations: 1.355 MB / 1.418 GB, free: 7.043 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01135/0.6749, allocations: 2.501 MB / 1.421 GB, free: 4.523 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/0.6749, allocations: 0 / 1.421 GB, free: 4.523 MB / 0.9167 GB Notification: Performance of matching and sorting (n=217) (initialization): time 0.01422/0.6891, allocations: 2.948 MB / 1.423 GB, free: 1.562 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.715e-05/0.6892, allocations: 7.938 kB / 1.423 GB, free: 1.555 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.78e-05/0.6893, allocations: 0 / 1.423 GB, free: 1.555 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000734/0.69, allocations: 92.77 kB / 1.424 GB, free: 1.461 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005009/0.695, allocations: 0.5656 MB / 1.424 GB, free: 0.8945 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7135/1.409, allocations: 1.52 MB / 1.426 GB, free: 200.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003626/1.412, allocations: 340 kB / 1.426 GB, free: 200.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005408/1.413, allocations: 95.3 kB / 1.426 GB, free: 200.4 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (215): * Single equations (assignments): 214 * 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.001244/1.414, allocations: 408.2 kB / 1.426 GB, free: 200.3 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004478/1.415, allocations: 141.5 kB / 1.427 GB, free: 200.3 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01232/1.427, allocations: 3.487 MB / 1.43 GB, free: 199.6 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-05/1.427, allocations: 19.91 kB / 1.43 GB, free: 199.6 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/1.427, allocations: 3.281 kB / 1.43 GB, free: 199.6 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.515e-05/1.427, allocations: 10.36 kB / 1.43 GB, free: 199.6 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01529/1.442, allocations: 5.753 MB / 1.436 GB, free: 197.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/1.442, allocations: 0.875 kB / 1.436 GB, free: 197.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003669/1.446, allocations: 0.5401 MB / 1.436 GB, free: 197.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005464/1.447, allocations: 90.52 kB / 1.436 GB, free: 197.2 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002909/1.447, allocations: 71.45 kB / 1.436 GB, free: 197.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00169/1.449, allocations: 1.55 MB / 1.438 GB, free: 195.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/1.449, allocations: 0.75 kB / 1.438 GB, free: 195.8 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01655/1.465, allocations: 5.392 MB / 1.443 GB, free: 193.3 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001381/1.467, allocations: 0.5061 MB / 1.444 GB, free: 193 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003106/1.467, allocations: 47.33 kB / 1.444 GB, free: 192.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002761/1.47, allocations: 250.1 kB / 1.444 GB, free: 192.9 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003583/1.47, allocations: 126.5 kB / 1.444 GB, free: 192.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002313/1.47, allocations: 81.83 kB / 1.444 GB, free: 192.9 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001031/1.471, allocations: 0.64 MB / 1.445 GB, free: 192.6 MB / 0.9167 GB Notification: Performance of sort global known variables: time 4.91e-07/1.471, allocations: 0 / 1.445 GB, free: 192.6 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002368/1.474, allocations: 0.6 MB / 1.445 GB, free: 192.4 MB / 0.9167 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.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (210): * Single equations (assignments): 207 * 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.001506/1.475, allocations: 0.6548 MB / 1.446 GB, free: 192.2 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.009565/1.485, allocations: 2.982 MB / 1.449 GB, free: 191.2 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/1.485, allocations: 256 / 1.449 GB, free: 191.2 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.005073/1.49, allocations: 1.654 MB / 1.45 GB, free: 190.6 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001889/1.492, allocations: 327.4 kB / 1.451 GB, free: 190.4 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01145/1.503, allocations: 5.838 MB / 1.456 GB, free: 187.1 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000847/1.504, allocations: 1.431 MB / 1.458 GB, free: 186.3 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.003469/1.508, allocations: 0.5552 MB / 1.458 GB, free: 186 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001023/1.509, allocations: 218.6 kB / 1.459 GB, free: 186 MB / 0.9167 GB Notification: Performance of SimCode: time 1.332e-06/1.509, allocations: 0 / 1.459 GB, free: 186 MB / 0.9167 GB Notification: Performance of Templates: time 0.04113/1.55, allocations: 27.77 MB / 1.486 GB, free: 160.2 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)