Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.109/2.109, allocations: 391.2 MB / 407 MB, free: 10.95 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.001523/0.001523, allocations: 193.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.52/1.52, 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.001018/0.001018, allocations: 103.7 kB / 0.9329 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001064/0.001065, allocations: 49.78 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.267, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.005895/0.273, allocations: 4.89 MB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.138/0.411, allocations: 148.6 MB / 1.368 GB, free: 11.14 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001293/0.4123, allocations: 15.94 kB / 1.368 GB, free: 11.12 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006517/0.413, allocations: 150.8 kB / 1.368 GB, free: 10.97 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001907/0.415, allocations: 0.4975 MB / 1.369 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002057/0.417, allocations: 0.7809 MB / 1.369 GB, free: 9.703 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.00163/0.4187, allocations: 1.491 MB / 1.371 GB, free: 8.207 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001242/0.4199, allocations: 1.028 MB / 1.372 GB, free: 7.141 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008713/0.4208, allocations: 0.6107 MB / 1.372 GB, free: 6.527 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007075/0.4215, allocations: 0.6842 MB / 1.373 GB, free: 5.84 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001692/0.4217, allocations: 104 kB / 1.373 GB, free: 5.738 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008883/0.4226, allocations: 451.7 kB / 1.374 GB, free: 5.297 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002996/0.4229, allocations: 342.6 kB / 1.374 GB, free: 4.961 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006066/0.4235, allocations: 0.7108 MB / 1.375 GB, free: 4.246 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001811/0.4253, allocations: 2.068 MB / 1.377 GB, free: 2.172 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.4254, allocations: 0 / 1.377 GB, free: 2.172 MB / 0.8698 GB Notification: Performance of FrontEnd: time 9.92e-07/0.4254, allocations: 0 / 1.377 GB, free: 2.172 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.961e-05/0.4254, allocations: 0 / 1.377 GB, free: 2.172 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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.002883/0.4283, allocations: 1.779 MB / 1.378 GB, free: 348 kB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.4283, allocations: 8.031 kB / 1.378 GB, free: 340 kB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008926/0.4292, allocations: 238.8 kB / 1.379 GB, free: 100 kB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/0.4304, allocations: 0.8836 MB / 1.38 GB, free: 15.17 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.536e-05/0.4305, allocations: 102.9 kB / 1.38 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/0.4306, allocations: 136 kB / 1.38 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00212/0.4328, allocations: 1.432 MB / 1.381 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.569e-05/0.4328, allocations: 7.922 kB / 1.381 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.4329, allocations: 60 kB / 1.381 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.476e-05/0.4329, allocations: 36 kB / 1.381 GB, free: 13.35 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002237/0.4352, allocations: 1.509 MB / 1.383 GB, free: 11.83 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005385/0.4406, allocations: 3.771 MB / 1.386 GB, free: 7.98 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001513/0.4421, allocations: 0.9705 MB / 1.387 GB, free: 7.004 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006238/0.4427, allocations: 399.6 kB / 1.388 GB, free: 6.609 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 9.358e-05/0.4429, allocations: 45.08 kB / 1.388 GB, free: 6.566 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001007/0.4439, allocations: 0.5787 MB / 1.388 GB, free: 5.965 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=104): time 2.995e-06/0.4439, allocations: 0 / 1.388 GB, free: 5.965 MB / 0.8855 GB Notification: Performance of matching and sorting (n=104): time 0.00346/0.4473, allocations: 1.477 MB / 1.39 GB, free: 4.465 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.4475, allocations: 196.9 kB / 1.39 GB, free: 4.23 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009138/0.4484, allocations: 0.763 MB / 1.391 GB, free: 3.457 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.519e-05/0.4485, allocations: 49.64 kB / 1.391 GB, free: 3.402 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004171/0.4489, allocations: 0.5543 MB / 1.391 GB, free: 2.84 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002682/0.4492, allocations: 350.9 kB / 1.392 GB, free: 2.492 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003058/0.4495, allocations: 214.7 kB / 1.392 GB, free: 2.273 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.4496, allocations: 345.9 kB / 1.392 GB, free: 1.93 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006608/0.4503, allocations: 362.4 kB / 1.393 GB, free: 1.578 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008071/0.4511, allocations: 470.2 kB / 1.393 GB, free: 1.098 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00152/0.4526, allocations: 0.8313 MB / 1.394 GB, free: 264 kB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.4526, allocations: 8 kB / 1.394 GB, free: 256 kB / 0.8855 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002427/0.4551, allocations: 1.11 MB / 1.395 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.841e-05/0.4551, allocations: 8 kB / 1.395 GB, free: 15.11 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/0.4551, allocations: 3.938 kB / 1.395 GB, free: 15.11 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006275/0.4558, allocations: 84.83 kB / 1.395 GB, free: 15.02 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009239/0.4567, allocations: 219.7 kB / 1.395 GB, free: 14.81 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001927/0.4587, allocations: 1.534 MB / 1.397 GB, free: 13.14 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/0.4598, allocations: 111 kB / 1.397 GB, free: 13.03 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/0.4599, allocations: 51.95 kB / 1.397 GB, free: 12.98 MB / 0.9011 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 (125): * Single equations (assignments): 124 * 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.0007549/0.4606, allocations: 318.5 kB / 1.397 GB, free: 12.66 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000217/0.4609, allocations: 98.78 kB / 1.397 GB, free: 12.56 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003202/0.4641, allocations: 1.384 MB / 1.399 GB, free: 11.16 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/0.4641, allocations: 12 kB / 1.399 GB, free: 11.15 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.4641, allocations: 0 / 1.399 GB, free: 11.15 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.474e-05/0.4642, allocations: 19.84 kB / 1.399 GB, free: 11.13 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004335/0.4685, allocations: 2.566 MB / 1.401 GB, free: 8.512 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.4685, allocations: 0 / 1.401 GB, free: 8.512 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007924/0.4693, allocations: 191.7 kB / 1.401 GB, free: 8.324 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005439/0.4699, allocations: 84.77 kB / 1.401 GB, free: 8.238 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.202e-05/0.47, allocations: 23.98 kB / 1.401 GB, free: 8.215 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001861/0.4719, allocations: 1.552 MB / 1.403 GB, free: 6.527 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.4719, allocations: 7.922 kB / 1.403 GB, free: 6.52 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003723/0.4756, allocations: 2.357 MB / 1.405 GB, free: 4.102 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005371/0.4762, allocations: 323.4 kB / 1.406 GB, free: 3.766 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001799/0.4763, allocations: 31.83 kB / 1.406 GB, free: 3.734 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007358/0.4771, allocations: 59.95 kB / 1.406 GB, free: 3.676 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001855/0.4773, allocations: 72.89 kB / 1.406 GB, free: 3.602 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.9e-05/0.4774, allocations: 43.97 kB / 1.406 GB, free: 3.559 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0008469/0.4782, allocations: 0.5693 MB / 1.406 GB, free: 2.992 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4782, allocations: 0 / 1.406 GB, free: 2.992 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001232/0.4795, allocations: 410.7 kB / 1.407 GB, free: 2.59 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 (115): * Single equations (assignments): 112 * 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.001371/0.4809, allocations: 0.5953 MB / 1.407 GB, free: 2.164 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002148/0.483, allocations: 1.034 MB / 1.408 GB, free: 1.117 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.483, allocations: 0 / 1.408 GB, free: 1.117 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001132/0.4842, allocations: 0.6057 MB / 1.409 GB, free: 0.5 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/0.4856, allocations: 289.4 kB / 1.409 GB, free: 236 kB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005865/0.4915, allocations: 3.551 MB / 1.413 GB, free: 12.63 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009246/0.4924, allocations: 1.193 MB / 1.414 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001144/0.4936, allocations: 296.3 kB / 1.414 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000396/0.494, allocations: 135.4 kB / 1.414 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of SimCode: time 6.52e-07/0.494, allocations: 0 / 1.414 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of Templates: time 0.545/1.039, allocations: 17.61 MB / 1.431 GB, free: 200.6 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)