Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001752/0.001752, allocations: 198 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002059/0.002059, allocations: 279 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9233/0.9233, allocations: 169.3 MB / 0.4982 GB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001662/0.001662, allocations: 96.92 kB / 0.5952 GB, free: 27.81 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1331, allocations: 86.98 MB / 0.6802 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.00565/0.1388, allocations: 4.466 MB / 0.6845 GB, free: 12.19 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4094/0.5482, allocations: 150.8 MB / 0.8318 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000753/0.549, allocations: 19.88 kB / 0.8318 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000474/0.5495, allocations: 176.9 kB / 0.8319 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001448/0.551, allocations: 0.5351 MB / 0.8325 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001607/0.5526, allocations: 0.8389 MB / 0.8333 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001207/0.5538, allocations: 1.367 MB / 0.8346 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007553/0.5546, allocations: 0.6235 MB / 0.8352 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006436/0.5552, allocations: 0.4911 MB / 0.8357 GB, free: 404 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000466/0.5557, allocations: 0.5238 MB / 0.8362 GB, free: 280 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001804/0.5559, allocations: 123.8 kB / 0.8363 GB, free: 276 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008488/0.5567, allocations: 459.6 kB / 0.8368 GB, free: 264 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002193/0.557, allocations: 312.1 kB / 0.8371 GB, free: 212 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003766/0.5574, allocations: 0.564 MB / 0.8376 GB, free: 32 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001443/0.5588, allocations: 1.615 MB / 0.8392 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.5588, allocations: 5.031 kB / 0.8392 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5588, allocations: 0 / 0.8392 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.303e-05/0.5588, allocations: 0 / 0.8392 GB, free: 15.8 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002503/0.5614, allocations: 1.465 MB / 0.8406 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.5614, allocations: 9.625 kB / 0.8406 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000918/0.5623, allocations: 188 kB / 0.8408 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009605/0.5633, allocations: 0.7649 MB / 0.8416 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.972e-05/0.5634, allocations: 65.19 kB / 0.8416 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.5635, allocations: 87.55 kB / 0.8417 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001487/0.565, allocations: 0.9631 MB / 0.8427 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.853e-05/0.565, allocations: 7.875 kB / 0.8427 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.199e-05/0.5651, allocations: 36.72 kB / 0.8427 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.866e-05/0.5651, allocations: 21.78 kB / 0.8427 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001715/0.5668, allocations: 1.163 MB / 0.8439 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003855/0.5707, allocations: 2.674 MB / 0.8465 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001452/0.5722, allocations: 0.8436 MB / 0.8473 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005307/0.5727, allocations: 327.3 kB / 0.8476 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.446e-05/0.5728, allocations: 31.62 kB / 0.8476 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009038/0.5737, allocations: 0.5273 MB / 0.8481 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=88): time 2.414e-06/0.5737, allocations: 0 / 0.8481 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88): time 0.003137/0.5769, allocations: 1.286 MB / 0.8494 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.577, allocations: 198.9 kB / 0.8496 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007788/0.5778, allocations: 0.6567 MB / 0.8502 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.612e-05/0.5779, allocations: 44.98 kB / 0.8503 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002922/0.5782, allocations: 407.6 kB / 0.8507 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002099/0.5784, allocations: 282.5 kB / 0.8509 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002556/0.5786, allocations: 181.7 kB / 0.8511 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.5788, allocations: 390.9 kB / 0.8515 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005392/0.5793, allocations: 290 kB / 0.8518 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006468/0.58, allocations: 397.1 kB / 0.8521 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001133/0.5811, allocations: 0.6568 MB / 0.8528 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.5811, allocations: 1.406 kB / 0.8528 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001965/0.5831, allocations: 0.9136 MB / 0.8537 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.5831, allocations: 4.344 kB / 0.8537 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.5832, allocations: 6.969 kB / 0.8537 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005793/0.5837, allocations: 83.58 kB / 0.8538 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000697/0.5845, allocations: 178.5 kB / 0.8539 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002085/0.5865, allocations: 1.623 MB / 0.8555 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007849/0.5873, allocations: 102.5 kB / 0.8556 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.222e-05/0.5874, allocations: 45.08 kB / 0.8557 GB, free: 5.355 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 104 * 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.0004336/0.5879, allocations: 278.6 kB / 0.8559 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/0.588, allocations: 84.97 kB / 0.856 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002445/0.5905, allocations: 1.167 MB / 0.8571 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.5905, allocations: 13.38 kB / 0.8572 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.5905, allocations: 0 / 0.8572 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.5905, allocations: 3.984 kB / 0.8572 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009784/0.5915, allocations: 0.945 MB / 0.8581 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.5915, allocations: 0 / 0.8581 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00059/0.5921, allocations: 157.9 kB / 0.8582 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004272/0.5926, allocations: 74.34 kB / 0.8583 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.474e-05/0.5926, allocations: 30.19 kB / 0.8583 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00173/0.5944, allocations: 1.66 MB / 0.86 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.5944, allocations: 4.062 kB / 0.86 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001945/0.5963, allocations: 0.9993 MB / 0.8609 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003579/0.5967, allocations: 281.8 kB / 0.8612 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001344/0.5968, allocations: 29.06 kB / 0.8612 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006406/0.5975, allocations: 65.67 kB / 0.8613 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/0.5977, allocations: 83.2 kB / 0.8614 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.884e-05/0.5977, allocations: 34.55 kB / 0.8614 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005534/0.5983, allocations: 481.9 kB / 0.8619 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.763e-06/0.5983, allocations: 0 / 0.8619 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000804/0.5991, allocations: 330.1 kB / 0.8622 GB, free: 0.7773 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001267/0.6004, allocations: 0.6127 MB / 0.8628 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002351/0.6028, allocations: 1.108 MB / 0.8639 GB, free: 0 / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.6028, allocations: 0 / 0.8639 GB, free: 0 / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009152/0.6037, allocations: 0.5439 MB / 0.8644 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.6048, allocations: 298.2 kB / 0.8647 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00356/0.6084, allocations: 1.86 MB / 0.8665 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005141/0.6089, allocations: 1.042 MB / 0.8675 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007907/0.6097, allocations: 273.5 kB / 0.8678 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002559/0.61, allocations: 115.2 kB / 0.8679 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of SimCode: time 4.11e-07/0.61, allocations: 0 / 0.8679 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of Templates: time 0.02506/0.635, allocations: 15.53 MB / 0.8831 GB, free: 0.8086 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)