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.001687/0.001687, allocations: 115.3 kB / 15.34 MB, free: 0.5117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002141/0.002141, allocations: 195.1 kB / 16.25 MB, free: 6.637 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.431/1.431, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002556/0.002556, allocations: 290.2 kB / 290.4 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.056/1.056, allocations: 178.6 MB / 0.507 GB, free: 4.668 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002769/0.00277, allocations: 102.1 kB / 0.6059 GB, free: 24.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.175, allocations: 89.15 MB / 0.693 GB, free: 4.648 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006744/0.1818, allocations: 4.972 MB / 0.6978 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5183/0.7001, allocations: 148.6 MB / 0.8429 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002282/0.7025, allocations: 14.69 kB / 0.843 GB, free: 9.453 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001345/0.7039, allocations: 160.1 kB / 0.8431 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003327/0.7073, allocations: 0.504 MB / 0.8436 GB, free: 8.977 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002821/0.7102, allocations: 0.7569 MB / 0.8443 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00243/0.7126, allocations: 1.446 MB / 0.8458 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001281/0.7139, allocations: 0.5852 MB / 0.8463 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001174/0.7151, allocations: 0.5152 MB / 0.8468 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001057/0.7161, allocations: 0.5353 MB / 0.8473 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003244/0.7165, allocations: 120.4 kB / 0.8475 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00125/0.7177, allocations: 465.8 kB / 0.8479 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000455/0.7182, allocations: 307.3 kB / 0.8482 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009106/0.7191, allocations: 0.5853 MB / 0.8488 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002268/0.7214, allocations: 1.644 MB / 0.8504 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.7214, allocations: 0 / 0.8504 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.354e-06/0.7214, allocations: 4 kB / 0.8504 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.454e-05/0.7215, allocations: 0 / 0.8504 GB, free: 4.492 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.002811/0.7243, allocations: 1.474 MB / 0.8518 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.7243, allocations: 8.312 kB / 0.8518 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009346/0.7253, allocations: 198 kB / 0.852 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/0.7264, allocations: 0.7612 MB / 0.8528 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.134e-05/0.7265, allocations: 61.28 kB / 0.8528 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.7266, allocations: 86.86 kB / 0.8529 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001706/0.7283, allocations: 0.9724 MB / 0.8539 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/0.7283, allocations: 0 / 0.8539 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.472e-05/0.7284, allocations: 38.06 kB / 0.8539 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.7285, allocations: 20.16 kB / 0.8539 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001865/0.7303, allocations: 1.165 MB / 0.855 GB, free: 1.348 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004464/0.7348, allocations: 2.885 MB / 0.8579 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001567/0.7364, allocations: 0.8512 MB / 0.8587 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005643/0.737, allocations: 322.2 kB / 0.859 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.108e-05/0.7371, allocations: 35.58 kB / 0.859 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00104/0.7381, allocations: 0.5324 MB / 0.8596 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=88): time 2.634e-06/0.7381, allocations: 0 / 0.8596 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of matching and sorting (n=88): time 0.003387/0.7415, allocations: 1.291 MB / 0.8608 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001298/0.7417, allocations: 191.2 kB / 0.861 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008349/0.7425, allocations: 0.6545 MB / 0.8616 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.961e-05/0.7426, allocations: 47.36 kB / 0.8617 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003646/0.743, allocations: 408 kB / 0.8621 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002625/0.7432, allocations: 285.4 kB / 0.8623 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002847/0.7435, allocations: 185.3 kB / 0.8625 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002066/0.7437, allocations: 389.3 kB / 0.8629 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005608/0.7443, allocations: 291.5 kB / 0.8632 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006709/0.745, allocations: 396.8 kB / 0.8635 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/0.7462, allocations: 0.6518 MB / 0.8642 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.7462, allocations: 0 / 0.8642 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002083/0.7483, allocations: 0.9215 MB / 0.8651 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.7483, allocations: 5.25 kB / 0.8651 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.7483, allocations: 7.5 kB / 0.8651 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006425/0.749, allocations: 86.2 kB / 0.8652 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007275/0.7497, allocations: 178.2 kB / 0.8653 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002302/0.752, allocations: 1.64 MB / 0.8669 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009483/0.753, allocations: 102.4 kB / 0.867 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.254e-05/0.7531, allocations: 41 kB / 0.8671 GB, free: 8.699 MB / 0.5919 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.0005662/0.7537, allocations: 279.2 kB / 0.8674 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000192/0.7539, allocations: 90.22 kB / 0.8674 GB, free: 8.434 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002718/0.7566, allocations: 1.161 MB / 0.8686 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/0.7566, allocations: 11.94 kB / 0.8686 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.7566, allocations: 0 / 0.8686 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.7566, allocations: 3.984 kB / 0.8686 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001286/0.7579, allocations: 0.9465 MB / 0.8695 GB, free: 6.617 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.283e-06/0.758, allocations: 4.062 kB / 0.8695 GB, free: 6.613 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006528/0.7586, allocations: 155.8 kB / 0.8697 GB, free: 6.461 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004816/0.7591, allocations: 68.78 kB / 0.8697 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-05/0.7592, allocations: 39.91 kB / 0.8698 GB, free: 6.352 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002077/0.7613, allocations: 1.65 MB / 0.8714 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.7613, allocations: 0 / 0.8714 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002245/0.7636, allocations: 0.9981 MB / 0.8724 GB, free: 3.535 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004565/0.764, allocations: 283.7 kB / 0.8726 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001414/0.7642, allocations: 23.98 kB / 0.8726 GB, free: 3.215 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006822/0.7649, allocations: 67.84 kB / 0.8727 GB, free: 3.148 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001938/0.7651, allocations: 88.75 kB / 0.8728 GB, free: 3.062 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.483e-05/0.7652, allocations: 35.98 kB / 0.8728 GB, free: 3.027 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006997/0.7659, allocations: 483 kB / 0.8733 GB, free: 2.562 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7659, allocations: 0 / 0.8733 GB, free: 2.562 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001033/0.7669, allocations: 331.3 kB / 0.8736 GB, free: 2.238 MB / 0.5919 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.00209/0.769, allocations: 0.6066 MB / 0.8742 GB, free: 1.809 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002912/0.7719, allocations: 1.112 MB / 0.8753 GB, free: 0.6836 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.7719, allocations: 0 / 0.8753 GB, free: 0.6836 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001045/0.773, allocations: 0.555 MB / 0.8758 GB, free: 124 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001416/0.7744, allocations: 308 kB / 0.8761 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003706/0.7781, allocations: 2.158 MB / 0.8782 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007719/0.7789, allocations: 1.044 MB / 0.8792 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009831/0.7799, allocations: 286.9 kB / 0.8795 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000319/0.7802, allocations: 119.4 kB / 0.8796 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of SimCode: time 8.22e-07/0.7803, allocations: 3.938 kB / 0.8796 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of Templates: time 0.02962/0.8099, allocations: 15.81 MB / 0.8951 GB, free: 12.59 MB / 0.6231 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)