Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.258/2.258, allocations: 391.2 MB / 407 MB, free: 10.84 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.001364/0.001364, allocations: 191.4 kB / 499.1 MB, free: 4.688 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.532/1.532, allocations: 222.9 MB / 0.7948 GB, free: 15.78 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.001058/0.001058, allocations: 95.75 kB / 0.9329 GB, free: 7.113 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001083/0.001084, allocations: 54.33 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3417, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.005668/0.3474, allocations: 4.894 MB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.1371/0.4845, allocations: 148.5 MB / 1.368 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009938/0.4856, allocations: 15.94 kB / 1.368 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006/0.4862, allocations: 158.7 kB / 1.368 GB, free: 11.16 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001791/0.488, allocations: 473.4 kB / 1.368 GB, free: 10.7 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002154/0.4902, allocations: 0.8156 MB / 1.369 GB, free: 9.895 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001647/0.4918, allocations: 1.455 MB / 1.371 GB, free: 8.434 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001385/0.4932, allocations: 1.112 MB / 1.372 GB, free: 7.281 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009101/0.4942, allocations: 0.603 MB / 1.372 GB, free: 6.676 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000712/0.4949, allocations: 0.6811 MB / 1.373 GB, free: 5.992 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001651/0.4951, allocations: 108 kB / 1.373 GB, free: 5.887 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001133/0.4962, allocations: 447.6 kB / 1.374 GB, free: 5.449 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003589/0.4966, allocations: 358.6 kB / 1.374 GB, free: 5.098 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007152/0.4973, allocations: 0.7303 MB / 1.375 GB, free: 4.363 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.002191/0.4995, allocations: 2.192 MB / 1.377 GB, free: 2.164 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.4995, allocations: 0 / 1.377 GB, free: 2.164 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.103e-06/0.4995, allocations: 3.938 kB / 1.377 GB, free: 2.16 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.623e-05/0.4995, allocations: 0 / 1.377 GB, free: 2.16 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: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.002948/0.5025, allocations: 1.814 MB / 1.379 GB, free: 296 kB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.5025, allocations: 15.92 kB / 1.379 GB, free: 280 kB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009358/0.5035, allocations: 242.8 kB / 1.379 GB, free: 36 kB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/0.5047, allocations: 0.8916 MB / 1.38 GB, free: 15.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001281/0.5049, allocations: 136.7 kB / 1.38 GB, free: 14.96 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001531/0.505, allocations: 144 kB / 1.38 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002226/0.5073, allocations: 1.469 MB / 1.381 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/0.5073, allocations: 4 kB / 1.381 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001126/0.5074, allocations: 67.94 kB / 1.381 GB, free: 13.22 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.743e-05/0.5075, allocations: 36 kB / 1.381 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002258/0.5097, allocations: 1.49 MB / 1.383 GB, free: 11.69 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005779/0.5155, allocations: 3.943 MB / 1.387 GB, free: 7.672 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001476/0.517, allocations: 0.9088 MB / 1.388 GB, free: 6.762 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000603/0.5176, allocations: 367.7 kB / 1.388 GB, free: 6.395 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 9.162e-05/0.5177, allocations: 40.92 kB / 1.388 GB, free: 6.355 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009932/0.5187, allocations: 0.5436 MB / 1.389 GB, free: 5.793 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=93): time 2.685e-06/0.5187, allocations: 0 / 1.389 GB, free: 5.793 MB / 0.8855 GB Notification: Performance of matching and sorting (n=93): time 0.003311/0.522, allocations: 1.372 MB / 1.39 GB, free: 4.395 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.5222, allocations: 196.9 kB / 1.39 GB, free: 4.16 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000941/0.5231, allocations: 0.7667 MB / 1.391 GB, free: 3.383 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.669e-05/0.5232, allocations: 41.7 kB / 1.391 GB, free: 3.336 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004537/0.5237, allocations: 0.5775 MB / 1.391 GB, free: 2.75 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002351/0.5239, allocations: 311.4 kB / 1.392 GB, free: 2.441 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002779/0.5242, allocations: 198.4 kB / 1.392 GB, free: 2.238 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.5243, allocations: 345.9 kB / 1.392 GB, free: 1.895 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005833/0.5249, allocations: 329.8 kB / 1.393 GB, free: 1.574 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006941/0.5256, allocations: 431.9 kB / 1.393 GB, free: 1.137 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001278/0.5269, allocations: 0.7617 MB / 1.394 GB, free: 368 kB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.5269, allocations: 3.938 kB / 1.394 GB, free: 364 kB / 0.8855 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002158/0.5291, allocations: 1.028 MB / 1.395 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.5291, allocations: 4 kB / 1.395 GB, free: 15.31 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.5291, allocations: 7.938 kB / 1.395 GB, free: 15.3 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005744/0.5297, allocations: 80.84 kB / 1.395 GB, free: 15.22 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007829/0.5305, allocations: 195.7 kB / 1.395 GB, free: 15.03 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001994/0.5325, allocations: 1.53 MB / 1.397 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006929/0.5332, allocations: 100.4 kB / 1.397 GB, free: 13.27 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.801e-05/0.5333, allocations: 48.03 kB / 1.397 GB, free: 13.22 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (111): * Single equations (assignments): 110 * 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.0005217/0.5338, allocations: 331.2 kB / 1.397 GB, free: 12.89 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001628/0.534, allocations: 98.78 kB / 1.397 GB, free: 12.79 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002751/0.5368, allocations: 1.282 MB / 1.398 GB, free: 11.49 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/0.5368, allocations: 12 kB / 1.398 GB, free: 11.48 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.5368, allocations: 0 / 1.398 GB, free: 11.48 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.405e-05/0.5368, allocations: 11.91 kB / 1.398 GB, free: 11.47 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003922/0.5407, allocations: 2.494 MB / 1.401 GB, free: 8.918 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.5408, allocations: 4 kB / 1.401 GB, free: 8.914 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000691/0.5415, allocations: 175.8 kB / 1.401 GB, free: 8.742 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005259/0.542, allocations: 84.72 kB / 1.401 GB, free: 8.656 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.341e-05/0.5421, allocations: 31.97 kB / 1.401 GB, free: 8.625 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001805/0.5439, allocations: 1.555 MB / 1.403 GB, free: 6.926 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.5439, allocations: 0 / 1.403 GB, free: 6.926 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003309/0.5472, allocations: 2.271 MB / 1.405 GB, free: 4.594 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004643/0.5477, allocations: 315.5 kB / 1.405 GB, free: 4.266 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/0.5478, allocations: 19.97 kB / 1.405 GB, free: 4.246 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006491/0.5485, allocations: 67.94 kB / 1.405 GB, free: 4.18 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001643/0.5487, allocations: 76.83 kB / 1.405 GB, free: 4.102 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.949e-05/0.5487, allocations: 47.91 kB / 1.405 GB, free: 4.055 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0007251/0.5495, allocations: 0.5537 MB / 1.406 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5495, allocations: 0 / 1.406 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.00119/0.5507, allocations: 414.5 kB / 1.406 GB, free: 3.098 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.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 104 * 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.001399/0.5521, allocations: 0.5941 MB / 1.407 GB, free: 2.676 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002153/0.5543, allocations: 0.9677 MB / 1.408 GB, free: 1.699 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.5543, allocations: 0 / 1.408 GB, free: 1.699 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001094/0.5554, allocations: 0.5786 MB / 1.408 GB, free: 1.105 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00142/0.5568, allocations: 280 kB / 1.409 GB, free: 0.8438 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005786/0.5626, allocations: 3.527 MB / 1.412 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007951/0.5634, allocations: 1.2 MB / 1.413 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001055/0.5645, allocations: 291.8 kB / 1.413 GB, free: 11.75 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003154/0.5648, allocations: 127.4 kB / 1.414 GB, free: 11.63 MB / 0.9167 GB Notification: Performance of SimCode: time 1.112e-06/0.5648, allocations: 0 / 1.414 GB, free: 11.63 MB / 0.9167 GB Notification: Performance of Templates: time 0.5981/1.163, allocations: 17.02 MB / 1.43 GB, free: 199.9 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)