Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001803/0.001803, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001913/0.001913, allocations: 190.9 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.416/1.416, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002609/0.002609, allocations: 282.3 kB / 290.4 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.045/1.045, allocations: 178.6 MB / 0.507 GB, free: 4.75 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004181/0.004181, allocations: 95.08 kB / 0.6059 GB, free: 25.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1774, allocations: 89.14 MB / 0.693 GB, free: 4.742 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.007027/0.1845, allocations: 5.02 MB / 0.6979 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5546/0.7391, allocations: 148.5 MB / 0.8429 GB, free: 9.617 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001006/0.7401, allocations: 20.84 kB / 0.8429 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007036/0.7409, allocations: 157.3 kB / 0.8431 GB, free: 9.477 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001847/0.7427, allocations: 0.4974 MB / 0.8435 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002048/0.7448, allocations: 0.7836 MB / 0.8443 GB, free: 8.594 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00186/0.7467, allocations: 1.466 MB / 0.8457 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001056/0.7477, allocations: 0.5978 MB / 0.8463 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009778/0.7487, allocations: 0.5068 MB / 0.8468 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007448/0.7495, allocations: 0.5493 MB / 0.8474 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001591/0.7496, allocations: 122.7 kB / 0.8475 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001104/0.7508, allocations: 488.5 kB / 0.8479 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003251/0.7511, allocations: 321.8 kB / 0.8482 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005936/0.7517, allocations: 0.5932 MB / 0.8488 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002026/0.7537, allocations: 1.673 MB / 0.8505 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.7537, allocations: 0 / 0.8505 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.448e-06/0.7538, allocations: 0 / 0.8505 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.443e-05/0.7538, allocations: 3.938 kB / 0.8505 GB, free: 4.574 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.00286/0.7566, allocations: 1.496 MB / 0.8519 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.7567, allocations: 10.81 kB / 0.8519 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009318/0.7576, allocations: 184.7 kB / 0.8521 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/0.7588, allocations: 0.7729 MB / 0.8529 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.265e-05/0.7588, allocations: 71.19 kB / 0.8529 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.759, allocations: 86.19 kB / 0.853 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001708/0.7607, allocations: 0.976 MB / 0.854 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/0.7607, allocations: 2.625 kB / 0.854 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.591e-05/0.7608, allocations: 39.73 kB / 0.854 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.086e-05/0.7608, allocations: 22.25 kB / 0.854 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001804/0.7626, allocations: 1.16 MB / 0.8552 GB, free: 1.41 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.004687/0.7673, allocations: 2.915 MB / 0.858 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00215/0.7695, allocations: 0.9803 MB / 0.859 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005693/0.7701, allocations: 330 kB / 0.8593 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.377e-05/0.7702, allocations: 34.03 kB / 0.8593 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001054/0.7712, allocations: 0.5404 MB / 0.8598 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=88): time 2.395e-06/0.7713, allocations: 0 / 0.8598 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of matching and sorting (n=88): time 0.003455/0.7747, allocations: 1.298 MB / 0.8611 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001402/0.7749, allocations: 193.1 kB / 0.8613 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008624/0.7757, allocations: 0.6538 MB / 0.8619 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.114e-05/0.7758, allocations: 42.61 kB / 0.862 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003659/0.7762, allocations: 408.7 kB / 0.8624 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002657/0.7765, allocations: 283.2 kB / 0.8626 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002898/0.7768, allocations: 185 kB / 0.8628 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002214/0.777, allocations: 394.7 kB / 0.8632 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005504/0.7776, allocations: 287.4 kB / 0.8635 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000676/0.7783, allocations: 393.7 kB / 0.8638 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/0.7795, allocations: 0.6473 MB / 0.8645 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.7795, allocations: 0 / 0.8645 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00218/0.7816, allocations: 0.9198 MB / 0.8654 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.7817, allocations: 10.66 kB / 0.8654 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.7817, allocations: 0 / 0.8654 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000634/0.7823, allocations: 85.92 kB / 0.8655 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007223/0.7831, allocations: 182.3 kB / 0.8656 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002428/0.7855, allocations: 1.628 MB / 0.8672 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009437/0.7865, allocations: 105.5 kB / 0.8673 GB, free: 8.637 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-05/0.7866, allocations: 41.31 kB / 0.8674 GB, free: 8.621 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: 21 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,solAzi.outsidePolarCircle,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 (104): * Single equations (assignments): 103 * 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.0006051/0.7872, allocations: 284.8 kB / 0.8676 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001849/0.7874, allocations: 84 kB / 0.8677 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002818/0.7902, allocations: 1.2 MB / 0.8689 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/0.7902, allocations: 12 kB / 0.8689 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.7902, allocations: 0 / 0.8689 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.7902, allocations: 7.984 kB / 0.8689 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003943/0.7942, allocations: 2.094 MB / 0.8709 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.7942, allocations: 0 / 0.8709 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006833/0.7949, allocations: 163.8 kB / 0.8711 GB, free: 5.121 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004877/0.7954, allocations: 76.78 kB / 0.8712 GB, free: 5.043 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.796e-05/0.7955, allocations: 33.14 kB / 0.8712 GB, free: 5.012 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002233/0.7977, allocations: 1.658 MB / 0.8728 GB, free: 3.211 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.7977, allocations: 0 / 0.8728 GB, free: 3.211 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00239/0.8001, allocations: 1.086 MB / 0.8739 GB, free: 2.105 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004852/0.8006, allocations: 295.6 kB / 0.8742 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001401/0.8008, allocations: 23.98 kB / 0.8742 GB, free: 1.773 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007627/0.8015, allocations: 75.92 kB / 0.8743 GB, free: 1.699 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001875/0.8017, allocations: 76.89 kB / 0.8743 GB, free: 1.625 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/0.8018, allocations: 39.97 kB / 0.8744 GB, free: 1.586 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007051/0.8026, allocations: 475 kB / 0.8748 GB, free: 1.129 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.11e-07/0.8026, allocations: 0 / 0.8748 GB, free: 1.129 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00113/0.8037, allocations: 355.1 kB / 0.8752 GB, free: 0.7812 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.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 99 * 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.002095/0.8058, allocations: 0.6273 MB / 0.8758 GB, free: 340 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00295/0.8088, allocations: 1.136 MB / 0.8769 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.8088, allocations: 0 / 0.8769 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001094/0.8099, allocations: 0.5587 MB / 0.8774 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/0.8113, allocations: 313.2 kB / 0.8777 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0037/0.815, allocations: 2.209 MB / 0.8799 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007668/0.8158, allocations: 1.048 MB / 0.8809 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009815/0.8168, allocations: 279 kB / 0.8812 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003143/0.8171, allocations: 115.4 kB / 0.8813 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of SimCode: time 6.51e-07/0.8171, allocations: 0 / 0.8813 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of Templates: time 0.0304/0.8475, allocations: 16.01 MB / 0.8969 GB, free: 10.84 MB / 0.6231 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)